4a3fdd9c57
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. |
||
---|---|---|
.. | ||
at.c | ||
at.h | ||
at.man | ||
LEGAL | ||
Makefile | ||
Makefile.inc | ||
panic.c | ||
panic.h | ||
parsetime.c | ||
parsetime.h | ||
perm.c | ||
perm.h | ||
privs.h |