mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-05 17:11:06 +00:00
5fa8945605
This is a new flag that can be passed to recvmsg () to make it atomically set the CLOEXEC flag on all the file descriptors received using the SCM_RIGHTS mechanism. This is useful for all the same reasons that the other XXX_CLOEXEC flags are useful: namely, it provides atomicity with respect to another thread of the same process calling (fork and then) exec at the same time. This flag is already supported on Linux and FreeBSD. The flag's value, 0x40000, is choosen to match FreeBSD's. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230423160548.126576-2-bugaevc@gmail.com> |
||
---|---|---|
.. | ||
types | ||
errno.h | ||
fcntl.h | ||
ioctls.h | ||
local_lim.h | ||
mman_ext.h | ||
param.h | ||
posix_opt.h | ||
signum-arch.h | ||
socket.h | ||
stat.h | ||
statfs.h | ||
statvfs.h | ||
stdio_lim.h | ||
sysmacros.h | ||
timesize.h | ||
typesizes.h | ||
unistd_ext.h |