[Glibc-bsd-commits] r5803 - trunk/glibc-ports/kfreebsd/bits
aurel32 at alioth.debian.org
aurel32 at alioth.debian.org
Tue Oct 20 15:59:42 UTC 2015
Author: aurel32
Date: 2015-10-20 15:59:42 +0000 (Tue, 20 Oct 2015)
New Revision: 5803
Modified:
trunk/glibc-ports/kfreebsd/bits/socket.h
Log:
As we require a kfreebsd 10 kernel, let's define SOCK_CLOEXEC and SOCK_NONBLOCK
Modified: trunk/glibc-ports/kfreebsd/bits/socket.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/socket.h 2015-10-20 15:47:23 UTC (rev 5802)
+++ trunk/glibc-ports/kfreebsd/bits/socket.h 2015-10-20 15:59:42 UTC (rev 5803)
@@ -54,6 +54,16 @@
SOCK_SEQPACKET = 5 /* Sequenced, reliable, connection-based,
datagrams of fixed maximum length. */
#define SOCK_SEQPACKET SOCK_SEQPACKET
+
+ /* Flags to be ORed into the type parameter of socket and socketpair and
+ used for the flags parameter of paccept. */
+
+ SOCK_CLOEXEC = 0x10000000, /* Atomically set close-on-exec flag for the
+ new descriptor(s). */
+#define SOCK_CLOEXEC SOCK_CLOEXEC
+ SOCK_NONBLOCK = 0x20000000 /* Atomically mark descriptor(s) as
+ non-blocking. */
+#define SOCK_NONBLOCK SOCK_NONBLOCK
};
/*
More information about the Glibc-bsd-commits
mailing list