Akira Tanaka <akr / fsij.org> wrote: > I'd like to set FD_CLOEXEC for all file descriptors (except 0, 1, 2, > i.e. standard input/output/error). > > I talked this issue with kosaki and matz at RubyKaigi 2011 and > matz said "do it" and see that someone will cry or not. I support this proposal for Ruby 2.0. Very few applications depend on FD passing via exec() and they can easily be updated to set close_on_exec=false. I've just updated git://bogomips.org/unicorn.git myself.