aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-07-21 17:20:12 +0000
committerUlrich Drepper <drepper@redhat.com>2007-07-21 17:20:12 +0000
commit2c89631565fda96b629957777ebd5801e3aab088 (patch)
tree4b1addff7a060e117e6d630374ed1253686c9817 /sysdeps
parent403445d72e03e419c4a1c5b21bdff52a391e0727 (diff)
downloadglibc-2c89631565fda96b629957777ebd5801e3aab088.zip
glibc-2c89631565fda96b629957777ebd5801e3aab088.tar.gz
glibc-2c89631565fda96b629957777ebd5801e3aab088.tar.bz2
Define MSG_CMSG_CLOEXEC.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 201a979..89a9106 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -210,8 +210,13 @@ enum
#define MSG_ERRQUEUE MSG_ERRQUEUE
MSG_NOSIGNAL = 0x4000, /* Do not generate SIGPIPE. */
#define MSG_NOSIGNAL MSG_NOSIGNAL
- MSG_MORE = 0x8000 /* Sender will send more. */
+ MSG_MORE = 0x8000, /* Sender will send more. */
#define MSG_MORE MSG_MORE
+
+ MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file
+ descriptor received through
+ SCM_RIGHTS. */
+#define MSG_CMSG_CLOEXEC MSG_CMSG_CLOEXEC
};