summaryrefslogtreecommitdiffstats
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-04 16:15:51 +0000
committerru <ru@FreeBSD.org>2001-09-04 16:15:51 +0000
commit3527c363d57e1688de0e11e9b409130ba99d6c4a (patch)
tree5b951c59f980d8ae3d357a450261430a7153bb9b /sbin/quotacheck
parentf83248d955e55cba999d478b18b0216f1540e7a0 (diff)
downloadFreeBSD-src-3527c363d57e1688de0e11e9b409130ba99d6c4a.zip
FreeBSD-src-3527c363d57e1688de0e11e9b409130ba99d6c4a.tar.gz
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.
Diffstat (limited to 'sbin/quotacheck')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud