but it seems programs like ineted use this feature, right?
2007/4/23, Tetsuo Handa <penguin-newbie@xxxxxxxxxxxxxxxxxxx
>:
R.wen wrote:
> it seems sys_execve() do not close the file descriptors 0, 1, 2 by
> default.
This is close-on-exec flag controlled by fcntl(fd, F_SETFD, *).
I think as with file descriptors 0, 1, 2, close-on-exec flag is not set by default.