1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/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
Makefile MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Makefile.inc
panic.c SECURITY. 2001-09-04 16:15:51 +00:00
panic.h
parsetime.c Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +00:00
parsetime.h
perm.c Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +00:00
perm.h
privs.h SECURITY. 2001-09-04 16:15:51 +00:00