162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci#ifndef _UAPI_LINUX_AUXVEC_H 362306a36Sopenharmony_ci#define _UAPI_LINUX_AUXVEC_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#include <asm/auxvec.h> 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci/* Symbolic values for the entries in the auxiliary table 862306a36Sopenharmony_ci put on the initial stack */ 962306a36Sopenharmony_ci#define AT_NULL 0 /* end of vector */ 1062306a36Sopenharmony_ci#define AT_IGNORE 1 /* entry should be ignored */ 1162306a36Sopenharmony_ci#define AT_EXECFD 2 /* file descriptor of program */ 1262306a36Sopenharmony_ci#define AT_PHDR 3 /* program headers for program */ 1362306a36Sopenharmony_ci#define AT_PHENT 4 /* size of program header entry */ 1462306a36Sopenharmony_ci#define AT_PHNUM 5 /* number of program headers */ 1562306a36Sopenharmony_ci#define AT_PAGESZ 6 /* system page size */ 1662306a36Sopenharmony_ci#define AT_BASE 7 /* base address of interpreter */ 1762306a36Sopenharmony_ci#define AT_FLAGS 8 /* flags */ 1862306a36Sopenharmony_ci#define AT_ENTRY 9 /* entry point of program */ 1962306a36Sopenharmony_ci#define AT_NOTELF 10 /* program is not ELF */ 2062306a36Sopenharmony_ci#define AT_UID 11 /* real uid */ 2162306a36Sopenharmony_ci#define AT_EUID 12 /* effective uid */ 2262306a36Sopenharmony_ci#define AT_GID 13 /* real gid */ 2362306a36Sopenharmony_ci#define AT_EGID 14 /* effective gid */ 2462306a36Sopenharmony_ci#define AT_PLATFORM 15 /* string identifying CPU for optimizations */ 2562306a36Sopenharmony_ci#define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */ 2662306a36Sopenharmony_ci#define AT_CLKTCK 17 /* frequency at which times() increments */ 2762306a36Sopenharmony_ci/* AT_* values 18 through 22 are reserved */ 2862306a36Sopenharmony_ci#define AT_SECURE 23 /* secure mode boolean */ 2962306a36Sopenharmony_ci#define AT_BASE_PLATFORM 24 /* string identifying real platform, may 3062306a36Sopenharmony_ci * differ from AT_PLATFORM. */ 3162306a36Sopenharmony_ci#define AT_RANDOM 25 /* address of 16 random bytes */ 3262306a36Sopenharmony_ci#define AT_HWCAP2 26 /* extension of AT_HWCAP */ 3362306a36Sopenharmony_ci#define AT_RSEQ_FEATURE_SIZE 27 /* rseq supported feature size */ 3462306a36Sopenharmony_ci#define AT_RSEQ_ALIGN 28 /* rseq allocation alignment */ 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ci#define AT_EXECFN 31 /* filename of program */ 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci#ifndef AT_MINSIGSTKSZ 3962306a36Sopenharmony_ci#define AT_MINSIGSTKSZ 51 /* minimal stack size for signal delivery */ 4062306a36Sopenharmony_ci#endif 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci#endif /* _UAPI_LINUX_AUXVEC_H */ 43