summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.h
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2009-05-18 04:07:46 +0000
committerdchagin <dchagin@FreeBSD.org>2009-05-18 04:07:46 +0000
commit7316b5296a8c60515aa749726e133fec1df8d8dc (patch)
treed322b4f678abeafc93996ff4856d9f8962760a22 /sys/compat/linux/linux_socket.h
parenta501d9a071f1dfe8471bed22e728be03188465b2 (diff)
downloadFreeBSD-src-7316b5296a8c60515aa749726e133fec1df8d8dc.zip
FreeBSD-src-7316b5296a8c60515aa749726e133fec1df8d8dc.tar.gz
Implement MSG_CMSG_CLOEXEC flag for linux_recvmsg().
Approved by: kib (mentor) MFC after: 1 month
Diffstat (limited to 'sys/compat/linux/linux_socket.h')
-rw-r--r--sys/compat/linux/linux_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_socket.h b/sys/compat/linux/linux_socket.h
index 67903c5..c716f02 100644
--- a/sys/compat/linux/linux_socket.h
+++ b/sys/compat/linux/linux_socket.h
@@ -48,6 +48,7 @@
#define LINUX_MSG_RST 0x1000
#define LINUX_MSG_ERRQUEUE 0x2000
#define LINUX_MSG_NOSIGNAL 0x4000
+#define LINUX_MSG_CMSG_CLOEXEC 0x40000000
/* Socket-level control message types */
OpenPOWER on IntegriCloud