in faccessat slow path, add close-on-exec to pipe fds
authorRich Felker <dalias@aerifal.cx>
Fri, 18 Oct 2013 11:12:38 +0000 (07:12 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 18 Oct 2013 11:12:38 +0000 (07:12 -0400)
commitd5bd7dd5d2780ce715e985e8f66b44f80e64f485
tree5c5efeba7ec32737adc11e4c5984b4be6caf14c9
parent516358561efbc5754d0ad43a52483e0a839d6bd3
in faccessat slow path, add close-on-exec to pipe fds

as usual, this is needed to avoid fd leaks. as a better solution, the
use of fds could possibly be replaced with mmap and a futex.
src/unistd/faccessat.c