summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-09-27 22:05:54 +0000
committerjilles <jilles@FreeBSD.org>2012-09-27 22:05:54 +0000
commitf702d078aa3f620abff880ea809f1abe0beef434 (patch)
tree2f77e2a165f8ad883116008bc8cbad52d25b3599 /sys/fs/tmpfs
parent9462cb164169ec9d8c369c666eac8bd7e7476de7 (diff)
downloadFreeBSD-src-f702d078aa3f620abff880ea809f1abe0beef434.zip
FreeBSD-src-f702d078aa3f620abff880ea809f1abe0beef434.tar.gz
libc/fts: Use O_CLOEXEC for internal file descriptors.
Because fts keeps internal file descriptors open across calls, making such descriptors close-on-exec helps not only multi-threaded applications but also single-threaded applications. In particular, this prevents passing a temporary file descriptor for saving the current directory to processes created via find -exec.
Diffstat (limited to 'sys/fs/tmpfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud