about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sys/personality.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2016-03-28 22:42:52 +0200
committerAurelien Jarno <aurelien@aurel32.net>2016-03-28 22:42:52 +0200
commit9ff9351d028d43af1cc2eaf432004ada0996bbf0 (patch)
treef84a28557501c08157a9ac1e964747b8ea4dab94 /sysdeps/unix/sysv/linux/sys/personality.h
parent064f01b10b57ff09cda7025f484b848c38ddd57a (diff)
downloadglibc-9ff9351d028d43af1cc2eaf432004ada0996bbf0.tar.gz
glibc-9ff9351d028d43af1cc2eaf432004ada0996bbf0.tar.xz
glibc-9ff9351d028d43af1cc2eaf432004ada0996bbf0.zip
Synchronize <sys/personality.h> with kernel headers
<sys/personality.h> is out of sync with kernel headers, missing the
UNAME26, FDPIC_FUNCPTRS and PER_LINUX_FDPIC entries. Fix that.

Changelog:
	* sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
	PER_LINUX_FDPIC): Add.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys/personality.h')
-rw-r--r--sysdeps/unix/sysv/linux/sys/personality.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/personality.h b/sysdeps/unix/sysv/linux/sys/personality.h
index af2ece6cf9..ad2258f436 100644
--- 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,