diff options
author | Rob Landley <rob@landley.net> | 2014-07-26 13:27:07 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-07-26 13:27:07 -0500 |
commit | ccb73f8bf9191c01c90975958a210c47175bd98c (patch) | |
tree | 135401e239d48af41faabf2fc484d05be1dbde71 /toys/other/switch_root.c | |
parent | dc62a012d7ce3e9a397e28022ab1fb6568a867c2 (diff) | |
download | toybox-ccb73f8bf9191c01c90975958a210c47175bd98c.tar.gz |
Default xcreate/xopen to O_CLOEXEC. (Pass O_CLOEXEC in the flags to switch it back off.)
This way we're not leaking filehandles to children from things like find -exec.
Diffstat (limited to 'toys/other/switch_root.c')
0 files changed, 0 insertions, 0 deletions