fix fd leak race (missing O_CLOEXEC) in fchmodat
authorRich Felker <dalias@aerifal.cx>
Thu, 5 Feb 2015 03:50:40 +0000 (22:50 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 30 Mar 2015 05:41:34 +0000 (01:41 -0400)
commitc534aad07df48a130e342fb78304b80778d53c64
tree092dc5c39cef0e6fd338382027083de5c0839468
parent35c1939960bf32f2f3e8d40a83c375a0fb85c0de
fix fd leak race (missing O_CLOEXEC) in fchmodat

(cherry picked from commit 2736eb6caa70bb6e909d7d8ebbe145c2071435e0)
src/stat/fchmodat.c