close-on-exec

Tom Tromey tromey@redhat.com
Tue Mar 5 16:07:00 GMT 2002


I'm looking at natFileDescriptorPosix.cc.
Should we mark all new file descriptors as close-on-exec?
That's how it seems to me. That way creating a Process won't cause
the new process to inherit open file descriptors.
We would have to do this in java.net as well.
Is there any reason not to do this?
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /