aboutsummaryrefslogtreecommitdiffstats
path: root/main/libc0.9.32/uClibc-0.9.33.2-define-MSG_CMSG_CLOEXEC.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-21 07:35:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-21 07:35:41 +0000
commit7d25e7fc4a44602dee310694029ce247bd0e6853 (patch)
tree5b993984411f130be1d667f2ac0c53279466e3cd /main/libc0.9.32/uClibc-0.9.33.2-define-MSG_CMSG_CLOEXEC.patch
parent888a762e3e7bf47d79c8f2f87ae9c2382e936d63 (diff)
downloadaports-7d25e7fc4a44602dee310694029ce247bd0e6853.tar.bz2
aports-7d25e7fc4a44602dee310694029ce247bd0e6853.tar.xz
main/libc0.9.32: resync of upstream kernel features
fixes #1907
Diffstat (limited to 'main/libc0.9.32/uClibc-0.9.33.2-define-MSG_CMSG_CLOEXEC.patch')
-rw-r--r--main/libc0.9.32/uClibc-0.9.33.2-define-MSG_CMSG_CLOEXEC.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/libc0.9.32/uClibc-0.9.33.2-define-MSG_CMSG_CLOEXEC.patch b/main/libc0.9.32/uClibc-0.9.33.2-define-MSG_CMSG_CLOEXEC.patch
new file mode 100644
index 0000000000..c699b6b11f
--- /dev/null
+++ b/main/libc0.9.32/uClibc-0.9.33.2-define-MSG_CMSG_CLOEXEC.patch
@@ -0,0 +1,28 @@
+Add definition of MSG_WAITFORONE and MSG_CMSG_CLOEXEC
+
+From yocto:
+http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/uclibc/uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch
+
+Upstream-Status: Pending
+
+Index: git/libc/sysdeps/linux/common/bits/socket.h
+===================================================================
+--- git.orig/libc/sysdeps/linux/common/bits/socket.h 2012-01-26 23:23:21.537456132 -0800
++++ git/libc/sysdeps/linux/common/bits/socket.h 2012-01-26 23:25:10.125461388 -0800
+@@ -235,8 +235,15 @@
+ #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_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/
++#define MSG_WAITFORONE MSG_WAITFORONE
++
++ MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file
++ descriptor received through
++ SCM_RIGHTS. */
++#define MSG_CMSG_CLOEXEC MSG_CMSG_CLOEXEC
+ };
+
+