Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPI_LINUX_AUXVEC_H
0003 #define _UAPI_LINUX_AUXVEC_H
0004 
0005 #include <asm/auxvec.h>
0006 
0007 /* Symbolic values for the entries in the auxiliary table
0008    put on the initial stack */
0009 #define AT_NULL   0 /* end of vector */
0010 #define AT_IGNORE 1 /* entry should be ignored */
0011 #define AT_EXECFD 2 /* file descriptor of program */
0012 #define AT_PHDR   3 /* program headers for program */
0013 #define AT_PHENT  4 /* size of program header entry */
0014 #define AT_PHNUM  5 /* number of program headers */
0015 #define AT_PAGESZ 6 /* system page size */
0016 #define AT_BASE   7 /* base address of interpreter */
0017 #define AT_FLAGS  8 /* flags */
0018 #define AT_ENTRY  9 /* entry point of program */
0019 #define AT_NOTELF 10    /* program is not ELF */
0020 #define AT_UID    11    /* real uid */
0021 #define AT_EUID   12    /* effective uid */
0022 #define AT_GID    13    /* real gid */
0023 #define AT_EGID   14    /* effective gid */
0024 #define AT_PLATFORM 15  /* string identifying CPU for optimizations */
0025 #define AT_HWCAP  16    /* arch dependent hints at CPU capabilities */
0026 #define AT_CLKTCK 17    /* frequency at which times() increments */
0027 /* AT_* values 18 through 22 are reserved */
0028 #define AT_SECURE 23   /* secure mode boolean */
0029 #define AT_BASE_PLATFORM 24 /* string identifying real platform, may
0030                  * differ from AT_PLATFORM. */
0031 #define AT_RANDOM 25    /* address of 16 random bytes */
0032 #define AT_HWCAP2 26    /* extension of AT_HWCAP */
0033 
0034 #define AT_EXECFN  31   /* filename of program */
0035 
0036 #ifndef AT_MINSIGSTKSZ
0037 #define AT_MINSIGSTKSZ  51  /* minimal stack size for signal delivery */
0038 #endif
0039 
0040 #endif /* _UAPI_LINUX_AUXVEC_H */