initial commit
[glibc.git] / sysdeps / unix / bsd / bsd4.4 / kfreebsd / bits / auxv.h
1 /* Copyright (C) 1995-2013 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with the GNU C Library; if not, see
16 <http://www.gnu.org/licenses/>. */
17
18 /* Legal values for a_type (entry type). */
19
20 #define AT_NULL 0 /* End of vector */
21 #define AT_IGNORE 1 /* Entry should be ignored */
22 #define AT_EXECFD 2 /* File descriptor of program */
23 #define AT_PHDR 3 /* Program headers for program */
24 #define AT_PHENT 4 /* Size of program header entry */
25 #define AT_PHNUM 5 /* Number of program headers */
26 #define AT_PAGESZ 6 /* System page size */
27 #define AT_BASE 7 /* Base address of interpreter */
28 #define AT_FLAGS 8 /* Flags */
29 #define AT_ENTRY 9 /* Entry point of program */
30 #define AT_NOTELF 10 /* Program is not ELF */
31 #define AT_UID 11 /* Real uid */
32 #define AT_EUID 12 /* Effective uid */
33 #define AT_GID 13 /* Real gid */
34 #define AT_EGID 14 /* Effective gid */
35 #define AT_EXECPATH 15 /* Path to the executable. */
36 #define AT_CANARY 16 /* Canary for SSP. */
37 #define AT_CANARYLEN 17 /* Length of the canary. */
38 #define AT_OSRELDATE 18 /* OSRELDATE. */
39 #define AT_NCPUS 19 /* Number of CPUs. */
40 #define AT_PAGESIZES 20 /* Pagesizes. */
41 #define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
42 #define AT_TIMEKEEP 22 /* Pointer to timehands. */
43 #define AT_STACKPROT 23 /* Initial stack protection. */
44