#2220: Subprocesses do not close open FDs
-------------------------------+--------------------------------------------
Reporter: Baughn | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: libraries/process | Version: 6.8.2
Severity: normal | Resolution: duplicate
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Multiple |
-------------------------------+--------------------------------------------
Comment (by duncan):
Replying to [comment:1 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.
Note that on Linux, as of version 2.6.27, this can be done without any
race condition. See http://udrepper.livejournal.com/20407.html
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2220#comment:5>
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