diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-09 01:27:51 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-09 01:27:51 +0000 |
commit | 5c66c78b07f34ed9acddc827ceb266aae6caeac4 (patch) | |
tree | 15f8d5cb9a404a39e781fdb5393785b09f0e9df4 /sys/kern/sys_process.c | |
parent | 616c0abb0768f71a6f3153345389cdc0a713da95 (diff) |
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