aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_kernel.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-06 09:51:40 +0000
committerMiklos Szeredi <mszeredi@suse.cz>2013-02-06 16:30:47 +0100
commitfd7f25b62734ecdb63ed59001ef69a1a34edc4b4 (patch)
tree9a09af6e706b04932c805f090e406059ae516587 /include/fuse_kernel.h
parenteca08beaf5a7b4121da27c2a927a6ecbb08a74bf (diff)
downloadlibfuse-fd7f25b62734ecdb63ed59001ef69a1a34edc4b4.tar.gz
libfuse: set close-on-exec flag on pipe file descriptors
The FUSE library may be used from any number of programs which may also fork() + execve(), so set the close-on-exec flag to avoid inadvertant leakage of pipe file descriptors. While we're at it, attempt to use pipe2() since this is within a (currently) Linux-only code path and pipe2() offers thread-safety.
Diffstat (limited to 'include/fuse_kernel.h')
0 files changed, 0 insertions, 0 deletions