1607ca46eSDavid Howells #ifndef _UAPI_LINUX_AUXVEC_H 2607ca46eSDavid Howells #define _UAPI_LINUX_AUXVEC_H 3607ca46eSDavid Howells 4607ca46eSDavid Howells #include <asm/auxvec.h> 5607ca46eSDavid Howells 6607ca46eSDavid Howells /* Symbolic values for the entries in the auxiliary table 7607ca46eSDavid Howells put on the initial stack */ 8607ca46eSDavid Howells #define AT_NULL 0 /* end of vector */ 9607ca46eSDavid Howells #define AT_IGNORE 1 /* entry should be ignored */ 10607ca46eSDavid Howells #define AT_EXECFD 2 /* file descriptor of program */ 11607ca46eSDavid Howells #define AT_PHDR 3 /* program headers for program */ 12607ca46eSDavid Howells #define AT_PHENT 4 /* size of program header entry */ 13607ca46eSDavid Howells #define AT_PHNUM 5 /* number of program headers */ 14607ca46eSDavid Howells #define AT_PAGESZ 6 /* system page size */ 15607ca46eSDavid Howells #define AT_BASE 7 /* base address of interpreter */ 16607ca46eSDavid Howells #define AT_FLAGS 8 /* flags */ 17607ca46eSDavid Howells #define AT_ENTRY 9 /* entry point of program */ 18607ca46eSDavid Howells #define AT_NOTELF 10 /* program is not ELF */ 19607ca46eSDavid Howells #define AT_UID 11 /* real uid */ 20607ca46eSDavid Howells #define AT_EUID 12 /* effective uid */ 21607ca46eSDavid Howells #define AT_GID 13 /* real gid */ 22607ca46eSDavid Howells #define AT_EGID 14 /* effective gid */ 23607ca46eSDavid Howells #define AT_PLATFORM 15 /* string identifying CPU for optimizations */ 24607ca46eSDavid Howells #define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */ 25607ca46eSDavid Howells #define AT_CLKTCK 17 /* frequency at which times() increments */ 26607ca46eSDavid Howells /* AT_* values 18 through 22 are reserved */ 27607ca46eSDavid Howells #define AT_SECURE 23 /* secure mode boolean */ 28607ca46eSDavid Howells #define AT_BASE_PLATFORM 24 /* string identifying real platform, may 29607ca46eSDavid Howells * differ from AT_PLATFORM. */ 30607ca46eSDavid Howells #define AT_RANDOM 25 /* address of 16 random bytes */ 31607ca46eSDavid Howells 32607ca46eSDavid Howells #define AT_EXECFN 31 /* filename of program */ 33607ca46eSDavid Howells 34607ca46eSDavid Howells 35607ca46eSDavid Howells #endif /* _UAPI_LINUX_AUXVEC_H */ 36