This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.23-243-gb06549a
- From: stli at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 27 Apr 2016 07:09:42 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.23-243-gb06549a
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via b06549a5e62d66ef16bdc2a2a6ec8e9dae2ea52b (commit)
from 045cd3190a357a43c5b2b80d52e78858e73bfd76 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b06549a5e62d66ef16bdc2a2a6ec8e9dae2ea52b
commit b06549a5e62d66ef16bdc2a2a6ec8e9dae2ea52b
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date: Wed Apr 27 09:08:29 2016 +0200
Add missing iucv related defines.
this patch adds the missing SOL_IUCV socket level definition
and socket options SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE
which can be used with get/setsockopt().
SCM_IUCV_TRGCLS is needed to send/receive ancillary data with send/recvmsg().
The defines are copied from kernel-source:
include/net/iucv/af_iucv.h
include/linux/socket.h
diff --git a/ChangeLog b/ChangeLog
index 6fda4a4..2a4ad31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ * sysdeps/unix/sysv/linux/netiucv/iucv.h
+ (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
+ (SCM_IUCV_TRGCLS): New define.
+
2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #20005]
diff --git a/sysdeps/unix/sysv/linux/netiucv/iucv.h b/sysdeps/unix/sysv/linux/netiucv/iucv.h
index 13cfe98..df1d918 100644
--- a/sysdeps/unix/sysv/linux/netiucv/iucv.h
+++ b/sysdeps/unix/sysv/linux/netiucv/iucv.h
@@ -35,4 +35,14 @@ struct sockaddr_iucv
__END_DECLS
+#define SOL_IUCV 277 /* IUCV level */
+
+/* IUCV socket options (SOL_IUCV) */
+#define SO_IPRMDATA_MSG 0x0080 /* Send/recv IPRM_DATA msgs */
+#define SO_MSGLIMIT 0x1000 /* Get/set IUCV MSGLIMIT */
+#define SO_MSGSIZE 0x0800 /* Get maximum msgsize */
+
+/* IUCV related control messages (scm) */
+#define SCM_IUCV_TRGCLS 0x0001 /* Target class control message */
+
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/unix/sysv/linux/netiucv/iucv.h | 10 ++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources