Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anarazel
3 months ago
|
parent
|
context
|
favorite
| on:
Moving beyond fork() + exec()
There's a bunch of nastiness around that too. If you have e.g. library state that assumes the fd still works you can get her very confusing bugs once another file is opened into that fd number...
JdeBP
3 months ago
[–]
You may be mixing up fork and exec. Library data state isn't retained over execve(), and O_CLOEXEC does not take effect at fork().
anarazel
3 months ago
|
parent
[–]
Indeed. Not enough coffee, apparently.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: