1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI_LINUX_PERSONALITY_H 20 #define _UAPI_LINUX_PERSONALITY_H 21 enum { 22 UNAME26 = 0x0020000, 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 ADDR_NO_RANDOMIZE = 0x0040000, 25 FDPIC_FUNCPTRS = 0x0080000, 26 MMAP_PAGE_ZERO = 0x0100000, 27 ADDR_COMPAT_LAYOUT = 0x0200000, 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 READ_IMPLIES_EXEC = 0x0400000, 30 ADDR_LIMIT_32BIT = 0x0800000, 31 SHORT_INODE = 0x1000000, 32 WHOLE_SECONDS = 0x2000000, 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 STICKY_TIMEOUTS = 0x4000000, 35 ADDR_LIMIT_3GB = 0x8000000, 36 }; 37 #define PER_CLEAR_ON_SETID (READ_IMPLIES_EXEC | ADDR_NO_RANDOMIZE | ADDR_COMPAT_LAYOUT | MMAP_PAGE_ZERO) 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 enum { 40 PER_LINUX = 0x0000, 41 PER_LINUX_32BIT = 0x0000 | ADDR_LIMIT_32BIT, 42 PER_LINUX_FDPIC = 0x0000 | FDPIC_FUNCPTRS, 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 PER_SVR4 = 0x0001 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO, 45 PER_SVR3 = 0x0002 | STICKY_TIMEOUTS | SHORT_INODE, 46 PER_SCOSVR3 = 0x0003 | STICKY_TIMEOUTS | 47 WHOLE_SECONDS | SHORT_INODE, 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 PER_OSR5 = 0x0003 | STICKY_TIMEOUTS | WHOLE_SECONDS, 50 PER_WYSEV386 = 0x0004 | STICKY_TIMEOUTS | SHORT_INODE, 51 PER_ISCR4 = 0x0005 | STICKY_TIMEOUTS, 52 PER_BSD = 0x0006, 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 PER_SUNOS = 0x0006 | STICKY_TIMEOUTS, 55 PER_XENIX = 0x0007 | STICKY_TIMEOUTS | SHORT_INODE, 56 PER_LINUX32 = 0x0008, 57 PER_LINUX32_3GB = 0x0008 | ADDR_LIMIT_3GB, 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 PER_IRIX32 = 0x0009 | STICKY_TIMEOUTS, 60 PER_IRIXN32 = 0x000a | STICKY_TIMEOUTS, 61 PER_IRIX64 = 0x000b | STICKY_TIMEOUTS, 62 PER_RISCOS = 0x000c, 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 PER_SOLARIS = 0x000d | STICKY_TIMEOUTS, 65 PER_UW7 = 0x000e | STICKY_TIMEOUTS | MMAP_PAGE_ZERO, 66 PER_OSF4 = 0x000f, 67 PER_HPUX = 0x0010, 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 PER_MASK = 0x00ff, 70 }; 71 #endif 72