diff options
| author | Nick Kralevich <nnk@google.com> | 2013-01-14 14:14:49 -0800 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-01-14 14:14:49 -0800 |
| commit | 29fe857ec80e59347e28458a5396eb68d1cba0e4 (patch) | |
| tree | 153a29319dfd1ef7171d1f905568e21a26fab2b8 /libc | |
| parent | 68fa57f000285af20100c00db3d2bc143ad32294 (diff) | |
| parent | a67e4de6620b570dabe0f92985228af0d0204f2c (diff) | |
| download | bionic-29fe857ec80e59347e28458a5396eb68d1cba0e4.zip bionic-29fe857ec80e59347e28458a5396eb68d1cba0e4.tar.gz bionic-29fe857ec80e59347e28458a5396eb68d1cba0e4.tar.bz2 | |
Merge "headers: update auxvec.h from Linux kernel"
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/kernel/arch-x86/asm/auxvec.h | 1 | ||||
| -rw-r--r-- | libc/kernel/common/linux/auxvec.h | 28 | ||||
| -rw-r--r-- | libc/kernel/common/uapi/linux/auxvec.h | 50 |
3 files changed, 53 insertions, 26 deletions
diff --git a/libc/kernel/arch-x86/asm/auxvec.h b/libc/kernel/arch-x86/asm/auxvec.h index d3cffec..6a5978e 100644 --- a/libc/kernel/arch-x86/asm/auxvec.h +++ b/libc/kernel/arch-x86/asm/auxvec.h @@ -21,4 +21,5 @@ #define AT_SYSINFO 32 #define AT_SYSINFO_EHDR 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define AT_VECTOR_SIZE_ARCH 2 #endif diff --git a/libc/kernel/common/linux/auxvec.h b/libc/kernel/common/linux/auxvec.h index a6dcec9..8002275 100644 --- a/libc/kernel/common/linux/auxvec.h +++ b/libc/kernel/common/linux/auxvec.h @@ -18,31 +18,7 @@ ****************************************************************************/ #ifndef _LINUX_AUXVEC_H #define _LINUX_AUXVEC_H -#include <asm/auxvec.h> -#define AT_NULL 0 +#include <uapi/linux/auxvec.h> +#define AT_VECTOR_SIZE_BASE 19 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define AT_IGNORE 1 -#define AT_EXECFD 2 -#define AT_PHDR 3 -#define AT_PHENT 4 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define AT_PHNUM 5 -#define AT_PAGESZ 6 -#define AT_BASE 7 -#define AT_FLAGS 8 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define AT_ENTRY 9 -#define AT_NOTELF 10 -#define AT_UID 11 -#define AT_EUID 12 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define AT_GID 13 -#define AT_EGID 14 -#define AT_PLATFORM 15 -#define AT_HWCAP 16 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define AT_CLKTCK 17 -#define AT_SECURE 23 -#define AT_VECTOR_SIZE 44 #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/libc/kernel/common/uapi/linux/auxvec.h b/libc/kernel/common/uapi/linux/auxvec.h new file mode 100644 index 0000000..19d5aee --- /dev/null +++ b/libc/kernel/common/uapi/linux/auxvec.h @@ -0,0 +1,50 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _UAPI_LINUX_AUXVEC_H +#define _UAPI_LINUX_AUXVEC_H +#include <asm/auxvec.h> +#define AT_NULL 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define AT_IGNORE 1 +#define AT_EXECFD 2 +#define AT_PHDR 3 +#define AT_PHENT 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define AT_PHNUM 5 +#define AT_PAGESZ 6 +#define AT_BASE 7 +#define AT_FLAGS 8 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define AT_ENTRY 9 +#define AT_NOTELF 10 +#define AT_UID 11 +#define AT_EUID 12 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define AT_GID 13 +#define AT_EGID 14 +#define AT_PLATFORM 15 +#define AT_HWCAP 16 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define AT_CLKTCK 17 +#define AT_SECURE 23 +#define AT_BASE_PLATFORM 24 +#define AT_RANDOM 25 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define AT_EXECFN 31 +#endif |
