socket/recvfrom: Add MSG_CMSG_CLOEXEC support
authorzrj <rimvydas.jasinskas@gmail.com>
Sat, 31 Oct 2015 15:34:58 +0000 (17:34 +0200)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 2 Nov 2015 08:40:55 +0000 (16:40 +0800)
commitd4e572342e3910606a080c783e3d82dd07545163
tree2c0de067df6ad6645baf7ef81348d58ee54555bf
parent83dc54057ce0fcb5c3329601cadc7092e6fda664
socket/recvfrom: Add MSG_CMSG_CLOEXEC support

While there, add test case and update manpages.

Obtained-from: FreeBSD
12 files changed:
lib/libc/sys/recv.2
share/man/man4/unix.4
sys/kern/uipc_socket.c
sys/kern/uipc_usrreq.c
sys/sys/domain.h
sys/sys/socket.h
sys/sys/un.h
test/socket/Makefile
test/socket/recvmsg/Makefile [new file with mode: 0644]
test/socket/recvmsg/Makefile.inc [new file with mode: 0644]
test/socket/recvmsg/cloexec/Makefile [new file with mode: 0644]
test/socket/recvmsg/cloexec/recvmsg_cloexec.c [new file with mode: 0644]