Correct the handling of symbolic links by chmod/chgrp/chown/chflags,
authorguenther <guenther@openbsd.org>
Sat, 13 Dec 2014 20:59:24 +0000 (20:59 +0000)
committerguenther <guenther@openbsd.org>
Sat, 13 Dec 2014 20:59:24 +0000 (20:59 +0000)
commitde79a8052c319c2e807debe0af948c0da4828542
tree2cbf67e094d502bc9f6f7c5ef6586534d0cda34f
parent7f91f423856bd744b7bc5add027f01f6d5163727
Correct the handling of symbolic links by chmod/chgrp/chown/chflags,
making them more resistant to TOCTOU race conditions too.

ok tobias@
bin/chmod/chflags.1
bin/chmod/chmod.1
bin/chmod/chmod.c