mirror of git://git.musl-libc.org/musl
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.
This commit is contained in:
parent
6e98924890
commit
badc5bb211
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue