summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-08-31 16:13:11 +0000
committerderaadt <deraadt@openbsd.org>2015-08-31 16:13:11 +0000
commite0278768757ba68c6cc7b76fa2f94c87b6cd1a22 (patch)
tree153281acadbaa0de00b2c523485180f129da9136 /lib/libc
parentRather than killing when *chmod is asked to do setuid/setgid, clear (diff)
downloadwireguard-openbsd-e0278768757ba68c6cc7b76fa2f94c87b6cd1a22.tar.xz
wireguard-openbsd-e0278768757ba68c6cc7b76fa2f94c87b6cd1a22.zip
In tame mode, return EPERM for *chown if uid/gid change is not towards
cr_uid/cr_gid (effective ids). Thus, chown(, -1,-1) should work OK, so should chown(, me, -1), etc. With this commited, more people can test.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions