| ... | ... | @@ -1658,6 +1658,45 @@ pub const AT = struct { |
| 1658 | 1658 | pub const REMOVEDIR = 0x0800; |
| 1659 | 1659 | /// Fail if not under dirfd |
| 1660 | 1660 | pub const BENEATH = 0x1000; |
| 1661 | /// elf_common constants |
| 1662 | pub const NULL = 0; |
| 1663 | pub const IGNORE = 1; |
| 1664 | pub const EXECFD = 2; |
| 1665 | pub const PHDR = 3; |
| 1666 | pub const PHENT = 4; |
| 1667 | pub const PHNUM = 5; |
| 1668 | pub const PAGESZ = 6; |
| 1669 | pub const BASE = 7; |
| 1670 | pub const FLAGS = 8; |
| 1671 | pub const ENTRY = 9; |
| 1672 | pub const NOTELF = 10; |
| 1673 | pub const UID = 11; |
| 1674 | pub const EUID = 12; |
| 1675 | pub const GID = 13; |
| 1676 | pub const EGID = 14; |
| 1677 | pub const EXECPATH = 15; |
| 1678 | pub const CANARY = 16; |
| 1679 | pub const CANARYLEN = 17; |
| 1680 | pub const OSRELDATE = 18; |
| 1681 | pub const NCPUS = 19; |
| 1682 | pub const PAGESIZES = 20; |
| 1683 | pub const PAGESIZESLEN = 21; |
| 1684 | pub const TIMEKEEP = 22; |
| 1685 | pub const STACKPROT = 23; |
| 1686 | pub const EHDRFLAGS = 24; |
| 1687 | pub const HWCAP = 25; |
| 1688 | pub const HWCAP2 = 26; |
| 1689 | pub const BSDFLAGS = 27; |
| 1690 | pub const ARGC = 28; |
| 1691 | pub const ARGV = 29; |
| 1692 | pub const ENVC = 30; |
| 1693 | pub const ENVV = 31; |
| 1694 | pub const PS_STRINGS = 32; |
| 1695 | pub const FXRNG = 33; |
| 1696 | pub const KPRLOAD = 34; |
| 1697 | pub const USRSTACKBASE = 35; |
| 1698 | pub const USRSTACKLIM = 36; |
| 1699 | pub const COUNT = 37; |
| 1661 | 1700 | }; |
| 1662 | 1701 | |
| 1663 | 1702 | pub const addrinfo = extern struct { |
| ... | ... | @@ -2151,3 +2190,5 @@ pub const shm_largeconf = extern struct { |
| 2151 | 2190 | }; |
| 2152 | 2191 | |
| 2153 | 2192 | pub extern "c" fn shm_create_largepage(path: [*:0]const u8, flags: c_int, psind: c_int, alloc_policy: c_int, mode: mode_t) c_int; |
| 2193 | |
| 2194 | pub extern "c" fn elf_aux_info(aux: c_int, buf: ?*anyopaque, buflen: c_int) c_int; |