[sudo-commits] sudo changeset 6501:4f2d0e869ae5
Todd C. Miller
Todd.Miller at courtesan.com
Tue Mar 8 09:38:28 EST 2011
changeset: 6501:4f2d0e869ae5 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/4f2d0e869ae5
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue Mar 08 09:38:21 2011 -0500
Log Message:
Fix return value of "sudo -l command" when command is not allowed, broken
in [c7097ea22111]. The default return value is now TRUE and a bad:
label is used when permission is denied. Also fixed missing permissions
restoration on certain errors. On error()/errorx(), the password and
group files are now closed before returning.
diffstat:
plugins/sudoers/sudoers.c | 33 ++++++++++++++++++---------------
1 files changed, 18 insertions(+), 15 deletions(-)
More information about the sudo-commits
mailing list