Ignore the setuid/setgid/sticky bits when copying the permissions of an input
authortim <tim@openbsd.org>
Tue, 13 Oct 2015 16:55:03 +0000 (16:55 +0000)
committertim <tim@openbsd.org>
Tue, 13 Oct 2015 16:55:03 +0000 (16:55 +0000)
commit55c9c81446966ea275b75c50435002f640b68aa5
tree7828a0fbe742d8e48ad07ae14896dea716f700ac
parente5826585f03f5a2902dc5485ed05159c83ddd24d
Ignore the setuid/setgid/sticky bits when copying the permissions of an input
file to the new output file. In preparation for pledge(2).

Suggested by and OK millert@
usr.bin/sort/sort.c