You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSG_CMSG_CLOEXEC (recvmsg() only; since Linux 2.6.23)
Set the close-on-exec flag for the file descriptor
received via a UNIX domain file descriptor using the
SCM_RIGHTS operation (described in [unix(7)](https://man7.org/linux/man-pages/man7/unix.7.html)). This flag is
useful for the same reasons as the O_CLOEXEC flag of
[open(2)](https://man7.org/linux/man-pages/man2/open.2.html).
Consider using MSG_CMSG_CLOEXEC flag, close-on-exec should be default behavior.
While it may not be possible to set this on non-Linux systems as part of the recvmsg call, this crate should either set it immediately on reception of the file descriptors, or else document that the returned file descriptors do not have this flag set.
Consider using
MSG_CMSG_CLOEXEC
flag,close-on-exec
should be default behavior.Links:
sendfd/src/lib.rs
Line 126 in 69994c1
The text was updated successfully, but these errors were encountered: