1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
// SPDX-License-Identifier: Apache-2.0 /// An auxiliary vector entry #[derive(Debug, PartialEq)] pub enum Entry<'a> { /// file descriptor of program ExecFd(usize), // core does not have RawFd /// program headers for program PHdr(usize), /// size of program header entry PHent(usize), /// number of program headers PHnum(usize), /// system page size PageSize(usize), /// base address of interpreter Base(usize), /// flags Flags(usize), /// entry point of program Entry(usize), /// program is not ELF NotElf(bool), /// real uid Uid(usize), /// effective uid EUid(usize), /// real gid Gid(usize), /// effective gid EGid(usize), /// string identifying CPU for optimizations Platform(&'a str), /// arch dependent hints at CPU capabilities HwCap(usize), /// frequency at which times() increments ClockTick(usize), /// secure mode boolean Secure(bool), /// string identifying real platform, may differ from Platform. BasePlatform(&'a str), /// address of 16 random bytes Random([u8; 16]), /// extension of HWCAP HwCap2(usize), /// filename of program ExecFilename(&'a str), /// pointer to the vDSO page (deprecated) SysInfo(usize), /// pointer to the ELF headers of the vDSO page SysInfoEHdr(usize), }