diff options
author | Peter Ammon <corydoras@ridiculousfish.com> | 2012-03-02 00:27:40 -0800 |
---|---|---|
committer | Peter Ammon <corydoras@ridiculousfish.com> | 2012-03-02 00:27:40 -0800 |
commit | 8b26d0104c1d85c271e5ce6e08bfe64a779beba7 (patch) | |
tree | 995568526f190084fd12d74bc6dcd0e828b1018a /postfork.cpp | |
parent | 36622c35781c3212c2102c45781a496f3e1b3659 (diff) |
Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly.
Diffstat (limited to 'postfork.cpp')
-rw-r--r-- | postfork.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/postfork.cpp b/postfork.cpp index 425dc526..d6da00a6 100644 --- a/postfork.cpp +++ b/postfork.cpp @@ -169,6 +169,7 @@ static int handle_child_io( io_data_t *io ) case IO_FILE: { + // Here we definitely do not want to set CLO_EXEC because our child needs access if( (tmp=wopen( io->filename, io->param2.flags, OPEN_MASK ) )==-1 ) { |