diff options
| author | Eric Wong <normalperson@yhbt.net> | 2013-02-06 09:51:40 +0000 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-06 16:30:47 +0100 |
| commit | fd7f25b62734ecdb63ed59001ef69a1a34edc4b4 (patch) | |
| tree | 9a09af6e706b04932c805f090e406059ae516587 /util/mount.fuse.c | |
| parent | eca08beaf5a7b4121da27c2a927a6ecbb08a74bf (diff) | |
| download | libfuse-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 'util/mount.fuse.c')
0 files changed, 0 insertions, 0 deletions
