mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
9dd887f1a6
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 |