version 1.5, 2002/01/03 03:49:16 |
version 1.6, 2002/01/14 00:11:44 |
|
|
#include "sudo.h" |
#include "sudo.h" |
|
|
#ifndef lint |
#ifndef lint |
static const char rcsid[] = "$Sudo: logging.c,v 1.151 2001/12/14 23:33:38 millert Exp $"; |
static const char rcsid[] = "$Sudo: logging.c,v 1.152 2002/01/13 18:27:25 millert Exp $"; |
#endif /* lint */ |
#endif /* lint */ |
|
|
static void do_syslog __P((int, char *)); |
static void do_syslog __P((int, char *)); |
|
|
endpwent(); |
endpwent(); |
|
|
/* Run mailer as root so user cannot kill it. */ |
/* Run mailer as root so user cannot kill it. */ |
set_perms(PERM_ROOT, 0); |
set_perms(PERM_FULL_ROOT, 0); |
execv(mpath, argv); |
execv(mpath, argv); |
_exit(127); |
_exit(127); |
} |
} |