]> granicus.if.org Git - sudo/commit
Add calls to set_perms(PERM_ROOT) becore logging to a file. We
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 12 Nov 2012 14:41:56 +0000 (09:41 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 12 Nov 2012 14:41:56 +0000 (09:41 -0500)
commit02aa965a2d77753b404f68fde9581cd8f7d76ded
tree6ad1110d119619eaee07365652eb0685b5545af7
parentacf8af9aac5e7cf3ed50a7030d98178a84b99619
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.
plugins/sudoers/logging.c