summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-09-07 14:28:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-09-07 14:28:36 +0000
commit05f0011fb0e5cb318c3bf12d078f3e3184d97e88 (patch)
tree6644900423672dc3f5ae58111700df42a97bc84e
parent7c9c5be96f4598afb0d954189d3a908820c79a6a (diff)
downloadglibc-05f0011fb0e5cb318c3bf12d078f3e3184d97e88.tar.gz
Add SOL_TLS definition from Linux 4.13.
This patch adds the new SOL_TLS constant from Linux 4.13 to the Linux bits/socket.h. Tested for x86_64. * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 916b3d1906..a63712ba05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-07 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
+
2017-09-07 Mike FABIAN <mfabian@redhat.com>
* localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index ec2bf8564f..a9d16e2bc8 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -163,6 +163,7 @@ typedef __socklen_t socklen_t;
#define SOL_ALG 279
#define SOL_NFC 280
#define SOL_KCM 281
+#define SOL_TLS 282
/* Maximum queue length specifiable by listen. */
#define SOMAXCONN 128