upvote
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().
reply
Indeed. Not enough coffee, apparently.
reply