logoalt Hacker News

JdeBPtoday at 5:06 PM1 replyview on HN

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().


Replies

anarazeltoday at 5:41 PM

Indeed. Not enough coffee, apparently.