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. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ