Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in recvmsg, pass in MSG_CMSG_CLOEXEC on illumos (#373)
Support for MSG_CMSG_CLOEXEC was added to illumos in a [recent commit]. To match the behavior on Linux, pass in the flag on illumos (the definition was added in libc 0.2.162). I've verified that the ipc-channel test suite still passes on an older illumos kernel which doesn't have support for it. This is okay because for returned fds, cloexec support is effectively best-effort. [recent commit]: illumos/illumos-gate@0250c53
- Loading branch information