=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/logging.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/usr.bin/sudo/Attic/logging.c 2007/08/15 14:22:39 1.18 --- src/usr.bin/sudo/Attic/logging.c 2007/12/03 15:09:47 1.19 *************** *** 60,66 **** #include "sudo.h" #ifndef lint ! __unused static const char rcsid[] = "$Sudo: logging.c,v 1.168.2.12 2007/08/08 20:07:45 millert Exp $"; #endif /* lint */ static void do_syslog __P((int, char *)); --- 60,66 ---- #include "sudo.h" #ifndef lint ! __unused static const char rcsid[] = "$Sudo: logging.c,v 1.168.2.13 2007/11/25 13:07:38 millert Exp $"; #endif /* lint */ static void do_syslog __P((int, char *)); *************** *** 370,378 **** va_start(ap); #endif ! /* Become root if we are not already to avoid user control */ ! if (geteuid() != 0) ! set_perms(PERM_ROOT); /* Expand printf-style format + args. */ evasprintf(&message, fmt, ap); --- 370,377 ---- va_start(ap); #endif ! /* Become root if we are not already to avoid user interference */ ! set_perms(PERM_ROOT); /* Expand printf-style format + args. */ evasprintf(&message, fmt, ap);