Searched refs:getauxval (Results 1 – 24 of 24) sorted by relevance
/bionic/tests/ |
D | getauxval_test.cpp | 38 TEST(getauxval, expected_values) { in TEST() argument 40 ASSERT_EQ(0UL, getauxval(AT_SECURE)); in TEST() 41 ASSERT_EQ(getuid(), getauxval(AT_UID)); in TEST() 42 ASSERT_EQ(geteuid(), getauxval(AT_EUID)); in TEST() 43 ASSERT_EQ(getgid(), getauxval(AT_GID)); in TEST() 44 ASSERT_EQ(getegid(), getauxval(AT_EGID)); in TEST() 45 ASSERT_EQ(static_cast<unsigned long>(getpagesize()), getauxval(AT_PAGESZ)); in TEST() 47 ASSERT_NE(0UL, getauxval(AT_PHDR)); in TEST() 48 ASSERT_NE(0UL, getauxval(AT_PHNUM)); in TEST() 49 ASSERT_NE(0UL, getauxval(AT_ENTRY)); in TEST() [all …]
|
/bionic/libc/include/sys/ |
D | auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/bionic/libc/bionic/ |
D | libc_init_static.cpp | 56 ElfW(Phdr)* phdr_start = reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)); in apply_gnu_relro() 57 unsigned long int phdr_ct = getauxval(AT_PHNUM); in apply_gnu_relro()
|
D | getauxval.cpp | 38 extern "C" unsigned long int getauxval(unsigned long int type) { in getauxval() function
|
D | libc_init_common.cpp | 70 __stack_chk_guard = *reinterpret_cast<uintptr_t*>(args.getauxval(AT_RANDOM)); in __libc_init_global_stack_chk_guard() 77 __libc_sysinfo = reinterpret_cast<void*>(args.getauxval(AT_SYSINFO)); in __libc_init_sysinfo() 269 bool is_AT_SECURE = getauxval(AT_SECURE); in __sanitize_environment_variables() 312 if (getauxval(AT_SECURE)) { in __libc_init_AT_SECURE()
|
D | setjmp_cookie.cpp | 43 char* random_data = reinterpret_cast<char*>(args.getauxval(AT_RANDOM)); in __libc_init_setjmp_cookie()
|
D | dl_iterate_phdr_static.cpp | 64 ElfW(Ehdr)* ehdr_vdso = reinterpret_cast<ElfW(Ehdr)*>(getauxval(AT_SYSINFO_EHDR)); in dl_iterate_phdr()
|
D | sysconf.cpp | 58 case _SC_CLK_TCK: return static_cast<long>(getauxval(AT_CLKTCK)); in sysconf() 93 return static_cast<long>(getauxval(AT_PAGESZ)); in sysconf()
|
D | vdso.cpp | 57 uintptr_t vdso_ehdr_addr = args.getauxval(AT_SYSINFO_EHDR); in __libc_init_vdso()
|
D | getentropy_linux.c | 536 p = (char *) getauxval(AT_RANDOM); in getentropy_fallback() 541 p = (char *) getauxval(AT_SYSINFO_EHDR); in getentropy_fallback() 546 p = (char *) getauxval(AT_BASE); in getentropy_fallback()
|
/bionic/libc/private/ |
D | KernelArgumentBlock.h | 54 unsigned long getauxval(unsigned long type) { in getauxval() function
|
/bionic/linker/ |
D | linker.cpp | 4067 ElfW(Ehdr)* ehdr_vdso = reinterpret_cast<ElfW(Ehdr)*>(args.getauxval(AT_SYSINFO_EHDR)); in add_vdso() 4188 if (!getauxval(AT_SECURE)) { 4223 si->phdr = reinterpret_cast<ElfW(Phdr)*>(args.getauxval(AT_PHDR)); 4224 si->phnum = args.getauxval(AT_PHNUM); 4225 si->entry = args.getauxval(AT_ENTRY); 4398 ElfW(Addr) linker_addr = args.getauxval(AT_BASE); 4399 ElfW(Addr) entry_point = args.getauxval(AT_ENTRY);
|
/bionic/libc/ |
D | libc.mips64.map | 358 getauxval;
|
D | libc.x86_64.map | 358 getauxval;
|
D | libc.arm64.map | 358 getauxval;
|
D | libc.x86.brillo.map | 425 getauxval;
|
D | libc.mips.brillo.map | 427 getauxval;
|
D | libc.mips.map | 427 getauxval;
|
D | libc.arm.brillo.map | 429 getauxval;
|
D | libc.x86.map | 425 getauxval;
|
D | libc.map.txt | 431 getauxval;
|
D | libc.arm.map | 429 getauxval;
|
D | Android.bp | 819 // The data that backs getauxval is initialized in the libc init 823 "bionic/getauxval.cpp", 825 // These four require getauxval, which isn't available on older
|
D | Android.mk | 257 libc_bionic_src_files += bionic/getauxval.cpp
|