As far as I can tell, close-exec is not working correctly in 2.6.9 or 2.6.10-1.741_FC3smp. The attached program generates a file /tmp/cl_foo.output which has this data: [greear@grok ~]$ more /tmp/cl_foo.output total 5 lrwx------ 1 greear greear 64 Jan 30 23:49 0 -> /dev/pts/3 l-wx------ 1 greear greear 64 Jan 30 23:49 1 -> /tmp/cl_foo.output l-wx------ 1 greear greear 64 Jan 30 23:49 2 -> /tmp/cl_foo.output lr-x------ 1 greear greear 64 Jan 30 23:49 3 -> /etc/passwd lr-x------ 1 greear greear 64 Jan 30 23:49 4 -> /proc/7020/fd I would not expect to see the /etc/passwd entry since I marked it close-exec in the parent process before forking and running the system() command. Am I confused about things, or is this a real bug? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com