git: socket/recvfrom: Add MSG_CMSG_CLOEXEC support
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Mon Nov 2 00:41:27 PST 2015
commit d4e572342e3910606a080c783e3d82dd07545163
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Sat Oct 31 17:34:58 2015 +0200
socket/recvfrom: Add MSG_CMSG_CLOEXEC support
While there, add test case and update manpages.
Obtained-from: FreeBSD
Summary of changes:
lib/libc/sys/recv.2 | 111 +++++++++++++--------
share/man/man4/unix.4 | 18 ++--
sys/kern/uipc_socket.c | 2 +-
sys/kern/uipc_usrreq.c | 23 +++--
sys/sys/domain.h | 2 +-
sys/sys/socket.h | 6 +-
sys/sys/un.h | 2 +-
test/socket/Makefile | 2 +-
{sys/bus/u4b/misc => test/socket/recvmsg}/Makefile | 2 +-
.../installer => test/socket/recvmsg}/Makefile.inc | 0
.../{accept/block => recvmsg/cloexec}/Makefile | 2 +-
.../recvmsg/cloexec/recvmsg_cloexec.c} | 68 ++++++++++---
12 files changed, 159 insertions(+), 79 deletions(-)
copy {sys/bus/u4b/misc => test/socket/recvmsg}/Makefile (60%)
copy {usr.sbin/installer => test/socket/recvmsg}/Makefile.inc (100%)
copy test/socket/{accept/block => recvmsg/cloexec}/Makefile (51%)
copy test/{testcases/io/sendfd_1/sendfd_1.c => socket/recvmsg/cloexec/recvmsg_cloexec.c} (50%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d4e572342e3910606a080c783e3d82dd07545163
--
DragonFly BSD source repository
More information about the Commits
mailing list