public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: sys/socket.h: define MSG_CMSG_CLOEXEC
@ 2018-03-06 18:11 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2018-03-06 18:11 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f6ce72e623b18fffde3e99735c9252005ea62e32

commit f6ce72e623b18fffde3e99735c9252005ea62e32
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Mar 6 18:23:48 2018 +0100

    Cygwin: sys/socket.h: define MSG_CMSG_CLOEXEC
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/include/cygwin/socket.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/winsup/cygwin/include/cygwin/socket.h b/winsup/cygwin/include/cygwin/socket.h
index 2958852..0360e71 100644
--- a/winsup/cygwin/include/cygwin/socket.h
+++ b/winsup/cygwin/include/cygwin/socket.h
@@ -204,6 +204,9 @@ struct OLD_msghdr
 /* Windows-specific flag values returned by recvmsg. */
 #define MSG_BCAST	0x0400		/* Broadcast datagram */
 #define MSG_MCAST	0x0800		/* Multicast datagram */
+/* AF_UNIX specific */
+#define MSG_CMSG_CLOEXEC 0x1000		/* Set O_CLOEXEC on fd's passed via
+					   SCM_RIGHTS */
 
 /* Setsockoptions(2) level. Thanks to BSD these must match IPPROTO_xxx */
 #define SOL_IP		0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-06 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06 18:11 [newlib-cygwin] Cygwin: sys/socket.h: define MSG_CMSG_CLOEXEC Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).