Message196043
> Close_fds is not supposed to close them?
Yes, but some new fds might be open in the child process, e.g. for /dev/urandom.
That's why it's better to check that this precise FD is closed. Of
course, if the /dev/urandom FD gets assigned the same FD as the one
provided by dup() in the parent, we're screwed, but that shouldn't
happen (since /dev/urandom is already open in the parent). |
|
Date |
User |
Action |
Args |
2013-08-23 21:58:38 | neologix | set | recipients:
+ neologix, gregory.p.smith, pitrou, vstinner, sbt |
2013-08-23 21:58:38 | neologix | link | issue18763 messages |
2013-08-23 21:58:37 | neologix | create | |
|