summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-02-06 00:41:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-02-06 00:41:34 +0000
commit41376f8c626612335649beaa71dc981f017350ad (patch)
tree0649c2eb9b04d26fdd3cbbc9344ce0a11cd4fcea
parentd28bf648976eb2e6d0bcc64a53f4ed1ebb59a40e (diff)
downloadglibc-41376f8c626612335649beaa71dc981f017350ad.tar.gz
Add IPV6_FREEBIND from Linux 4.15.
This patch adds the IPV6_FREEBIND macro from Linux 4.15 to sysdeps/unix/sysv/linux/bits/in.h. Tested for x86_64. * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/bits/in.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f4e5ac93f7..e026e56669 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2018-02-06 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
+
[BZ #14890]
* elf/elf.h (NT_PRFPREG): New macro.
(NT_S390_VXRS_LOW): Likewise.
diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index fb64f1bb3a..2c86102629 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -228,6 +228,7 @@ struct in_pktinfo
#define IPV6_TRANSPARENT 75
#define IPV6_UNICAST_IF 76
#define IPV6_RECVFRAGSIZE 77
+#define IPV6_FREEBIND 78
/* Obsolete synonyms for the above. */
#if !__USE_KERNEL_IPV6_DEFS