#2220: Subprocesses do not close open FDs
-------------------------------+--------------------------------------------
Reporter: Baughn | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Testcase:
Architecture: Multiple | Os: Multiple
-------------------------------+--------------------------------------------
Comment (by Baughn):
If setting FD_CLOEXEC (close on exec) is picked, then.. since it has to be
set in a separate call after opening the FD, there is a potential race
condition if any other thread calls exec. Probably only one OS thread
should do I/O or forks - my understanding is that this is already the
case, but it had to be mentioned.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2220#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs