auxvec.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _UAPI_LINUX_AUXVEC_H
  3. #define _UAPI_LINUX_AUXVEC_H
  4. #include <asm/auxvec.h>
  5. /* Symbolic values for the entries in the auxiliary table
  6. put on the initial stack */
  7. #define AT_NULL 0 /* end of vector */
  8. #define AT_IGNORE 1 /* entry should be ignored */
  9. #define AT_EXECFD 2 /* file descriptor of program */
  10. #define AT_PHDR 3 /* program headers for program */
  11. #define AT_PHENT 4 /* size of program header entry */
  12. #define AT_PHNUM 5 /* number of program headers */
  13. #define AT_PAGESZ 6 /* system page size */
  14. #define AT_BASE 7 /* base address of interpreter */
  15. #define AT_FLAGS 8 /* flags */
  16. #define AT_ENTRY 9 /* entry point of program */
  17. #define AT_NOTELF 10 /* program is not ELF */
  18. #define AT_UID 11 /* real uid */
  19. #define AT_EUID 12 /* effective uid */
  20. #define AT_GID 13 /* real gid */
  21. #define AT_EGID 14 /* effective gid */
  22. #define AT_PLATFORM 15 /* string identifying CPU for optimizations */
  23. #define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */
  24. #define AT_CLKTCK 17 /* frequency at which times() increments */
  25. /* AT_* values 18 through 22 are reserved */
  26. #define AT_SECURE 23 /* secure mode boolean */
  27. #define AT_BASE_PLATFORM 24 /* string identifying real platform, may
  28. * differ from AT_PLATFORM. */
  29. #define AT_RANDOM 25 /* address of 16 random bytes */
  30. #define AT_HWCAP2 26 /* extension of AT_HWCAP */
  31. #define AT_EXECFN 31 /* filename of program */
  32. #endif /* _UAPI_LINUX_AUXVEC_H */