diff options
author | 2003-03-09 01:27:50 +0000 | |
---|---|---|
committer | 2003-03-09 01:27:50 +0000 | |
commit | 855755d93bca296fcdb4bc2f128598b3aba5894b (patch) | |
tree | 3b7d14d1135e0815754ed90efd5fe41b1902157f /sys/kern/sys_process.c | |
parent | As pointed out by Perry, mailwrapper is never invoked directly, (diff) | |
download | wireguard-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