diff options
Diffstat (limited to 'usr.bin/at/at.c')
-rw-r--r-- | usr.bin/at/at.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 1807ba4..70fc6c9 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -80,7 +80,7 @@ /* File scope variables */ -static char rcsid[] = "$Id: at.c,v 1.2 1995/04/12 02:42:28 ache Exp $"; +static char rcsid[] = "$Id: at.c,v 1.3 1995/04/15 22:08:08 ache Exp $"; char *no_export[] = { "TERM", "TERMCAP", "DISPLAY", "_" @@ -250,6 +250,12 @@ writefile(time_t runtimer, char queue) PRIV_END + /* We no longer need suid root; now we just need to be able to write + * to the directory, if necessary. + */ + + REDUCE_PRIV(DAEMON_UID, DAEMON_GID) + /* We've successfully created the file; let's set the flag so it * gets removed in case of an interrupt or error. */ |