MSG_CMSG_CLOEXEC has not been working since 2015 (SVN r284380) because
_finstall expects O_CLOEXEC and not UF_EXCLOSE as the flags argument.
This was probably not noticed because we don't have a test for this flag
so this commit adds one. I found this problem because one of the
libwayland tests was failing.
Fixes:
|
||
---|---|---|
.. | ||
acct | ||
execve | ||
pipe | ||
coredump_phnum_helper.c | ||
coredump_phnum_test.sh | ||
fdgrowtable_test.c | ||
kcov.c | ||
kern_copyin.c | ||
kern_descrip_test.c | ||
kill_zombie.c | ||
libkern_crc32.c | ||
Makefile | ||
Makefile.depend | ||
Makefile.inc | ||
pdeathsig_helper.c | ||
pdeathsig.c | ||
ptrace_test.c | ||
reaper.c | ||
sendfile_helper.c | ||
sendfile_test.sh | ||
sigaltstack.c | ||
sonewconn_overflow.py | ||
sonewconn_overflow.sh | ||
sys_getrandom.c | ||
unix_passfd_test.c | ||
unix_seqpacket_test.c | ||
unix_socketpair_test.c | ||
waitpid_nohang.c |