summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_process.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-03-09 01:27:50 +0000
committermillert <millert@openbsd.org>2003-03-09 01:27:50 +0000
commit855755d93bca296fcdb4bc2f128598b3aba5894b (patch)
tree3b7d14d1135e0815754ed90efd5fe41b1902157f /sys/kern/sys_process.c
parentAs pointed out by Perry, mailwrapper is never invoked directly, (diff)
downloadwireguard-openbsd-855755d93bca296fcdb4bc2f128598b3aba5894b.tar.xz
wireguard-openbsd-855755d93bca296fcdb4bc2f128598b3aba5894b.zip
Make the semantics of the P_SUGIDEXEC flag match the issetugid(2)
man page. Instead of just clearing P_SUGIDEXEC if real and effective uids/gids matched, we now set P_SUGIDEXEC if there is a mismatch in the real, effective, or saved uid/gid and clear it otherwise. deraadt@ and tholo@ OK.
Diffstat (limited to 'sys/kern/sys_process.c')
0 files changed, 0 insertions, 0 deletions