Comment Comment by JdeBP 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(). parent JdeBP 4 months ago