[glibc] 01/01: debian/patches/any/cvs-sys-personality-h.diff: new patch to synchronise <sys/personality.h> with kernel headers. Closes: #697456.
This is an automated email from the git hooks/post-receive script.
aurel32 pushed a commit to branch sid
in repository glibc.
commit f122d30fc0b1217d88bc43e818f76109109969c9
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Mon Mar 28 22:59:12 2016 +0200
debian/patches/any/cvs-sys-personality-h.diff: new patch to synchronise <sys/personality.h> with kernel headers. Closes: #697456.
---
debian/changelog | 2 ++
debian/patches/any/cvs-sys-personality-h.diff | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 28 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c51d480..7928bd2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ glibc (2.22-5) UNRELEASED; urgency=medium
#816669.
* Drop libnss-dns-udeb and libnss-files-udeb and merge the files they
include in libc6-udeb.
+ * debian/patches/any/cvs-sys-personality-h.diff: new patch to synchronise
+ <sys/personality.h> with kernel headers. Closes: #697456.
-- Aurelien Jarno <aurel32@debian.org> Mon, 21 Mar 2016 18:45:40 +0100
diff --git a/debian/patches/any/cvs-sys-personality-h.diff b/debian/patches/any/cvs-sys-personality-h.diff
new file mode 100644
index 0000000..5354858
--- /dev/null
+++ b/debian/patches/any/cvs-sys-personality-h.diff
@@ -0,0 +1,25 @@
+2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
+ PER_LINUX_FDPIC): Add.
+
+--- a/sysdeps/unix/sysv/linux/sys/personality.h
++++ b/sysdeps/unix/sysv/linux/sys/personality.h
+@@ -26,7 +26,9 @@
+ These occupy the top three bytes. */
+ enum
+ {
++ UNAME26 = 0x0020000,
+ ADDR_NO_RANDOMIZE = 0x0040000,
++ FDPIC_FUNCPTRS = 0x0080000,
+ MMAP_PAGE_ZERO = 0x0100000,
+ ADDR_COMPAT_LAYOUT = 0x0200000,
+ READ_IMPLIES_EXEC = 0x0400000,
+@@ -45,6 +47,7 @@ enum
+ {
+ PER_LINUX = 0x0000,
+ PER_LINUX_32BIT = 0x0000 | ADDR_LIMIT_32BIT,
++ PER_LINUX_FDPIC = 0x0000 | FDPIC_FUNCPTRS,
+ PER_SVR4 = 0x0001 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO,
+ PER_SVR3 = 0x0002 | STICKY_TIMEOUTS | SHORT_INODE,
+ PER_SCOSVR3 = 0x0003 | STICKY_TIMEOUTS | WHOLE_SECONDS | SHORT_INODE,
diff --git a/debian/patches/series b/debian/patches/series
index 8d51800..7ff0f06 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -243,3 +243,4 @@ any/cvs-grantpt-pty-owner.diff
any/cvs-bits-libc-stdio-lock.diff
any/submitted-hle-checking-mutex.diff
any/submitted-dlopen-noload.diff
+any/cvs-sys-personality-h.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
Reply to: