if a P_SUGIDEXEC proc execve()'s a non-set[ug]id program while running
authorderaadt <deraadt@openbsd.org>
Tue, 18 Feb 1997 00:16:05 +0000 (00:16 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 18 Feb 1997 00:16:05 +0000 (00:16 +0000)
commit25b40de6a3e55c86d925d10e5f68bacc93282156
treefde6df950ca5ed0d406e5a0ea6295910887ac021
parent55a8d395752b70ea69cc028802b9c907018f7933
if a P_SUGIDEXEC proc execve()'s a non-set[ug]id program while running
with uid/gid mismatches, P_SUGIDEXEC should persist (in case the
environment has not been cleaned). pointed out by wietse@porcupine.org
lib/libc/sys/issetugid.2
sys/kern/kern_exec.c