xref: /linux/include/uapi/linux/auxvec.h (revision 100c85421b52e41269ada88f7d71a6b8a06c7a11)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2607ca46eSDavid Howells #ifndef _UAPI_LINUX_AUXVEC_H
3607ca46eSDavid Howells #define _UAPI_LINUX_AUXVEC_H
4607ca46eSDavid Howells 
5607ca46eSDavid Howells #include <asm/auxvec.h>
6607ca46eSDavid Howells 
7607ca46eSDavid Howells /* Symbolic values for the entries in the auxiliary table
8607ca46eSDavid Howells    put on the initial stack */
9607ca46eSDavid Howells #define AT_NULL   0	/* end of vector */
10607ca46eSDavid Howells #define AT_IGNORE 1	/* entry should be ignored */
11607ca46eSDavid Howells #define AT_EXECFD 2	/* file descriptor of program */
12607ca46eSDavid Howells #define AT_PHDR   3	/* program headers for program */
13607ca46eSDavid Howells #define AT_PHENT  4	/* size of program header entry */
14607ca46eSDavid Howells #define AT_PHNUM  5	/* number of program headers */
15607ca46eSDavid Howells #define AT_PAGESZ 6	/* system page size */
16607ca46eSDavid Howells #define AT_BASE   7	/* base address of interpreter */
17607ca46eSDavid Howells #define AT_FLAGS  8	/* flags */
18607ca46eSDavid Howells #define AT_ENTRY  9	/* entry point of program */
19607ca46eSDavid Howells #define AT_NOTELF 10	/* program is not ELF */
20607ca46eSDavid Howells #define AT_UID    11	/* real uid */
21607ca46eSDavid Howells #define AT_EUID   12	/* effective uid */
22607ca46eSDavid Howells #define AT_GID    13	/* real gid */
23607ca46eSDavid Howells #define AT_EGID   14	/* effective gid */
24607ca46eSDavid Howells #define AT_PLATFORM 15  /* string identifying CPU for optimizations */
25607ca46eSDavid Howells #define AT_HWCAP  16    /* arch dependent hints at CPU capabilities */
26607ca46eSDavid Howells #define AT_CLKTCK 17	/* frequency at which times() increments */
27607ca46eSDavid Howells /* AT_* values 18 through 22 are reserved */
28607ca46eSDavid Howells #define AT_SECURE 23   /* secure mode boolean */
29607ca46eSDavid Howells #define AT_BASE_PLATFORM 24	/* string identifying real platform, may
30607ca46eSDavid Howells 				 * differ from AT_PLATFORM. */
31607ca46eSDavid Howells #define AT_RANDOM 25	/* address of 16 random bytes */
322171364dSMichael Neuling #define AT_HWCAP2 26	/* extension of AT_HWCAP */
33317c8194SMathieu Desnoyers #define AT_RSEQ_FEATURE_SIZE	27	/* rseq supported feature size */
34317c8194SMathieu Desnoyers #define AT_RSEQ_ALIGN		28	/* rseq allocation alignment */
35*3281366aSPeter Bergner #define AT_HWCAP3 29	/* extension of AT_HWCAP */
36*3281366aSPeter Bergner #define AT_HWCAP4 30	/* extension of AT_HWCAP */
37607ca46eSDavid Howells 
38607ca46eSDavid Howells #define AT_EXECFN  31	/* filename of program */
39607ca46eSDavid Howells 
407cd60e43SChang S. Bae #ifndef AT_MINSIGSTKSZ
417cd60e43SChang S. Bae #define AT_MINSIGSTKSZ	51	/* minimal stack size for signal delivery */
427cd60e43SChang S. Bae #endif
43607ca46eSDavid Howells 
44607ca46eSDavid Howells #endif /* _UAPI_LINUX_AUXVEC_H */
45