diff options
author | William Woodruff <william.woodruff@trailofbits.com> | 2020-11-18 10:59:31 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-11-29 00:52:36 -0500 |
commit | badc5bb211ee5caa2cfaafb5fdb716cbb8d1f2e6 (patch) | |
tree | 0957a7c5e6a73e40fbbb2ff3d31ccc8970de74b8 | |
parent | 6e989248904bc6576ff13a998986153b97a58172 (diff) | |
download | musl-badc5bb211ee5caa2cfaafb5fdb716cbb8d1f2e6.zip musl-badc5bb211ee5caa2cfaafb5fdb716cbb8d1f2e6.tar.gz musl-badc5bb211ee5caa2cfaafb5fdb716cbb8d1f2e6.tar.bz2 |
add missing personality values
Adds two missing personality(2) personas: UNAME26 and FDPIC_FUNCPTRS.
FDPIC_FUNCPTRS was also missing its corresponding PER_LINUX_FDPIC
value.
-rw-r--r-- | include/sys/personality.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/personality.h b/include/sys/personality.h index 31d43df..411dc47 100644 --- a/include/sys/personality.h +++ b/include/sys/personality.h @@ -5,7 +5,9 @@ extern "C" { #endif +#define UNAME26 0x0020000 #define ADDR_NO_RANDOMIZE 0x0040000 +#define FDPIC_FUNCPTRS 0x0080000 #define MMAP_PAGE_ZERO 0x0100000 #define ADDR_COMPAT_LAYOUT 0x0200000 #define READ_IMPLIES_EXEC 0x0400000 @@ -17,6 +19,7 @@ extern "C" { #define PER_LINUX 0 #define PER_LINUX_32BIT ADDR_LIMIT_32BIT +#define PER_LINUX_FDPIC FDPIC_FUNCPTRS #define PER_SVR4 (1 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO) #define PER_SVR3 (2 | STICKY_TIMEOUTS | SHORT_INODE) #define PER_SCOSVR3 (3 | STICKY_TIMEOUTS | WHOLE_SECONDS | SHORT_INODE) |