[sudo-commits] sudo changeset 6502:757c941a47b2

Todd C. Miller Todd.Miller at courtesan.com
Tue Mar 8 09:39:16 EST 2011

changeset:	6502:757c941a47b2 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/757c941a47b2
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Mar 08 09:39:12 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.


 plugins/sudoers/sudoers.c |  33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 deletions(-)

More information about the sudo-commits mailing list