From: Ulrich Drepper Date: Sat, 21 Jul 2007 17:20:12 +0000 (+0000) Subject: Define MSG_CMSG_CLOEXEC. X-Git-Tag: cvs/fedora-glibc-20070731T1624~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c89631565fda96b629957777ebd5801e3aab088;p=thirdparty%2Fglibc.git Define MSG_CMSG_CLOEXEC. --- diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 201a9793f14..89a9106b2e1 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 };