freebsd-dev/usr.bin/at
Ruslan Ermilov 9dd887f1a6 SECURITY.
Fixed macros for temporarily relinquishing and restoring setuid/setgid
privileges so that they never change the real user and group IDs of
the calling process.

The setre[ug]id() calls are still used in the REDUCE_PERM macro (with
the r[ug]id arguments of -1) so that the call changes the saved user
and group IDs of the process to that specified.

Also, the panic() and perr() functions had insufficient privileges to
delete the problematic file under /var/at.
2001-09-04 16:15:51 +00:00
..
at.c Remove some unsafe function calls from the signal handlers. 2001-09-01 07:35:25 +00:00
at.h Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +00:00
at.man An empty at.deny doesn't mean everyone can use at. 2001-08-14 06:41:20 +00:00
LEGAL Upgrade to 2.9 1995-08-21 12:34:18 +00:00
Makefile MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Makefile.inc Upgrade to 2.9 1995-08-21 12:34:18 +00:00
panic.c SECURITY. 2001-09-04 16:15:51 +00:00
panic.h Upgrade to 2.9 1995-08-21 12:34:18 +00:00
parsetime.c Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +00:00
parsetime.h Upgrade to 2.9 1995-08-21 12:34:18 +00:00
perm.c Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +00:00
perm.h Upgrade to 2.9 1995-08-21 12:34:18 +00:00
privs.h SECURITY. 2001-09-04 16:15:51 +00:00