On Fri, 2003-04-18 at 21:13, Jerry Feldman wrote:
File descriptors are inherited over exec.
One of the things init does is to close all file descriptors.
That depends on the value of FD_CLOEXEC. See "man fcntl", specifically
the section on F_GETFD and F_SETFD