[sudo-commits] sudo changeset 8490:c591d4973f41

Todd C. Miller Todd.Miller at courtesan.com
Mon Nov 12 09:53:02 EST 2012


changeset:	8490:c591d4973f41 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/c591d4973f41
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Nov 12 09:41:56 2012 -0500

Log Message:
	Add calls to set_perms(PERM_ROOT) becore logging to a file.  We
	should already be root but since we cache the current permission
	status it is basically free.  That way, if more of sudoers runs as
	non-root in the future logging will still work correctly.

diffstat:

 plugins/sudoers/logging.c |  20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)


More information about the sudo-commits mailing list