File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -771,6 +771,10 @@ pub const NDA_MASTER: ::c_ushort = 9;
771771pub const NDA_LINK_NETNSID : :: c_ushort = 10 ;
772772pub const NDA_SRC_VNI : :: c_ushort = 11 ;
773773
774+ // linux/personality.h
775+ pub const UNAME26 : :: c_int = 0x0020000 ;
776+ pub const FDPIC_FUNCPTRS : :: c_int = 0x0080000 ;
777+
774778// linux/if_addr.h
775779pub const IFA_FLAGS : :: c_ushort = 8 ;
776780
Original file line number Diff line number Diff line change @@ -961,6 +961,17 @@ pub const WEXITED: ::c_int = 0x00000004;
961961pub const WCONTINUED : :: c_int = 0x00000008 ;
962962pub const WNOWAIT : :: c_int = 0x01000000 ;
963963
964+ // Options for personality(2).
965+ pub const ADDR_NO_RANDOMIZE : :: c_int = 0x0040000 ;
966+ pub const MMAP_PAGE_ZERO : :: c_int = 0x0100000 ;
967+ pub const ADDR_COMPAT_LAYOUT : :: c_int = 0x0200000 ;
968+ pub const READ_IMPLIES_EXEC : :: c_int = 0x0400000 ;
969+ pub const ADDR_LIMIT_32BIT : :: c_int = 0x0800000 ;
970+ pub const SHORT_INODE : :: c_int = 0x1000000 ;
971+ pub const WHOLE_SECONDS : :: c_int = 0x2000000 ;
972+ pub const STICKY_TIMEOUTS : :: c_int = 0x4000000 ;
973+ pub const ADDR_LIMIT_3GB : :: c_int = 0x8000000 ;
974+
964975// Options set using PTRACE_SETOPTIONS.
965976pub const PTRACE_O_TRACESYSGOOD : :: c_int = 0x00000001 ;
966977pub const PTRACE_O_TRACEFORK : :: c_int = 0x00000002 ;
You can’t perform that action at this time.
0 commit comments