Skip to content

Ensure fds are closed when exec functions are used.

When usng shm_open, FD_CLOEXEC is set explicitly.

However when using memfd_create, we must pass the MFD_CLOEXEC flag to ensure the same fcntl value (FD_CLOEXEC) is set.

Fixes #1394 (closed)

Merge request reports