[sudo-commits] sudo changeset 10888:c3c67d78e46a
Todd C. Miller
Todd.Miller at courtesan.com
Thu Mar 23 17:05:30 MDT 2017
changeset: 10888:c3c67d78e46a in /raid/repos/sudo
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Thu Mar 23 17:00:27 2017 -0600
Only retry mkdir or create with PERM_IOLOG if errno is EACCES.
Also always use PERM_IOLOG for mkdtemp() since we cannot retry
if it fails. Since we are guaranteed to create a new directory
there's no real need to try w/o PERM_IOLOG in this case.
plugins/sudoers/iolog.c | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
More information about the sudo-commits