Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/elf_common.h
Show First 20 Lines • Show All 929 Lines • ▼ Show 20 Lines | |||||
#define AT_PHNUM 5 /* Number of program header entries. */ | #define AT_PHNUM 5 /* Number of program header entries. */ | ||||
#define AT_PAGESZ 6 /* Page size in bytes. */ | #define AT_PAGESZ 6 /* Page size in bytes. */ | ||||
#define AT_BASE 7 /* Interpreter's base address. */ | #define AT_BASE 7 /* Interpreter's base address. */ | ||||
#define AT_FLAGS 8 /* Flags. */ | #define AT_FLAGS 8 /* Flags. */ | ||||
#define AT_ENTRY 9 /* Where interpreter should transfer control. */ | #define AT_ENTRY 9 /* Where interpreter should transfer control. */ | ||||
#define AT_NOTELF 10 /* Program is not ELF ?? */ | #define AT_NOTELF 10 /* Program is not ELF ?? */ | ||||
#define AT_UID 11 /* Real uid. */ | #define AT_UID 11 /* Real uid. */ | ||||
#define AT_EUID 12 /* Effective uid. */ | #define AT_EUID 12 /* Effective uid. */ | ||||
#ifndef __powerpc__ | |||||
#define AT_GID 13 /* Real gid. */ | #define AT_GID 13 /* Real gid. */ | ||||
#define AT_EGID 14 /* Effective gid. */ | #define AT_EGID 14 /* Effective gid. */ | ||||
#define AT_EXECPATH 15 /* Path to the executable. */ | #define AT_EXECPATH 15 /* Path to the executable. */ | ||||
#define AT_CANARY 16 /* Canary for SSP. */ | #define AT_CANARY 16 /* Canary for SSP. */ | ||||
#define AT_CANARYLEN 17 /* Length of the canary. */ | #define AT_CANARYLEN 17 /* Length of the canary. */ | ||||
#define AT_OSRELDATE 18 /* OSRELDATE. */ | #define AT_OSRELDATE 18 /* OSRELDATE. */ | ||||
#define AT_NCPUS 19 /* Number of CPUs. */ | #define AT_NCPUS 19 /* Number of CPUs. */ | ||||
#define AT_PAGESIZES 20 /* Pagesizes. */ | #define AT_PAGESIZES 20 /* Pagesizes. */ | ||||
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */ | #define AT_PAGESIZESLEN 21 /* Number of pagesizes. */ | ||||
#else /* defined(__powerpc__) */ | |||||
#define AT_EXECPATH 13 | |||||
#define AT_CANARY 14 | |||||
#define AT_CANARYLEN 15 | |||||
#define AT_OSRELDATE 16 | |||||
#define AT_NCPUS 17 | |||||
#define AT_PAGESIZES 18 | |||||
#define AT_PAGESIZESLEN 19 | |||||
#define AT_STACKPROT 21 | |||||
#endif /* defined(__powerpc__) */ | |||||
#define AT_TIMEKEEP 22 /* Pointer to timehands. */ | #define AT_TIMEKEEP 22 /* Pointer to timehands. */ | ||||
#ifndef __powerpc__ | |||||
#define AT_STACKPROT 23 /* Initial stack protection. */ | #define AT_STACKPROT 23 /* Initial stack protection. */ | ||||
#endif | |||||
#define AT_EHDRFLAGS 24 /* e_flags field from elf hdr */ | #define AT_EHDRFLAGS 24 /* e_flags field from elf hdr */ | ||||
#define AT_HWCAP 25 /* CPU feature flags. */ | #define AT_HWCAP 25 /* CPU feature flags. */ | ||||
#define AT_HWCAP2 26 /* CPU feature flags 2. */ | #define AT_HWCAP2 26 /* CPU feature flags 2. */ | ||||
#define AT_COUNT 27 /* Count of defined aux entry types. */ | #define AT_COUNT 27 /* Count of defined aux entry types. */ | ||||
/* | /* | ||||
* Relocation types. | * Relocation types. | ||||
▲ Show 20 Lines • Show All 495 Lines • Show Last 20 Lines |