Searched refs:getauxval (Results 1 – 21 of 21) 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/tests/libs/ |
D | preinit_getauxval_test_helper.cpp | 28 g_AT_RANDOM = getauxval(AT_RANDOM); in preinit_ctor() 29 g_AT_PAGESZ = getauxval(AT_PAGESZ); in preinit_ctor() 36 CHECK(getauxval(AT_RANDOM) == g_AT_RANDOM); in main() 37 CHECK(getauxval(AT_PAGESZ) == g_AT_PAGESZ); in main()
|
/bionic/libc/include/sys/ |
D | auxv.h | 36 unsigned long int getauxval(unsigned long int type) __INTRODUCED_IN(18);
|
/bionic/libc/bionic/ |
D | libc_init_static.cpp | 57 ElfW(Phdr)* phdr_start = reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)); in apply_gnu_relro() 58 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 | bionic_arc4random.cpp | 60 memcpy(buf, reinterpret_cast<char*>(args.getauxval(AT_RANDOM)) + at_random_bytes_consumed, n); in __libc_safe_arc4random_buf()
|
D | libc_init_common.cpp | 72 __libc_sysinfo = reinterpret_cast<void*>(args.getauxval(AT_SYSINFO)); in __libc_init_sysinfo() 284 bool is_AT_SECURE = getauxval(AT_SECURE); in __sanitize_environment_variables() 328 if (getauxval(AT_SECURE)) { in __libc_init_AT_SECURE()
|
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 | 61 case _SC_CLK_TCK: return static_cast<long>(getauxval(AT_CLKTCK)); in sysconf() 69 return static_cast<long>(getauxval(AT_PAGESZ)); in sysconf()
|
D | vdso.cpp | 59 uintptr_t vdso_ehdr_addr = args.getauxval(AT_SYSINFO_EHDR); in __libc_init_vdso()
|
D | getentropy_linux.c | 524 p = (char *) getauxval(AT_RANDOM); in getentropy_fallback() 529 p = (char *) getauxval(AT_SYSINFO_EHDR); in getentropy_fallback() 534 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_main.cpp | 140 ElfW(Ehdr)* ehdr_vdso = reinterpret_cast<ElfW(Ehdr)*>(args.getauxval(AT_SYSINFO_EHDR)); in add_vdso() 254 if (!getauxval(AT_SECURE)) { 292 si->phdr = reinterpret_cast<ElfW(Phdr)*>(args.getauxval(AT_PHDR)); 293 si->phnum = args.getauxval(AT_PHNUM); 437 ElfW(Addr) entry = args.getauxval(AT_ENTRY); 490 ElfW(Addr) entry_point = args.getauxval(AT_ENTRY);
|
/bionic/libc/ |
D | Android.bp | 765 // The data that backs getauxval is initialized in the libc init 769 "bionic/getauxval.cpp", 771 // These four require getauxval, which isn't available on older
|
D | libc.mips64.map | 351 …getauxval; # introduced-arm=18 introduced-arm64=21 introduced-mips=18 introduced-mips64=21 introdu…
|
D | libc.x86_64.map | 351 …getauxval; # introduced-arm=18 introduced-arm64=21 introduced-mips=18 introduced-mips64=21 introdu…
|
D | libc.arm64.map | 351 …getauxval; # introduced-arm=18 introduced-arm64=21 introduced-mips=18 introduced-mips64=21 introdu…
|
D | libc.x86.map | 417 …getauxval; # introduced-arm=18 introduced-arm64=21 introduced-mips=18 introduced-mips64=21 introdu…
|
D | libc.mips.map | 419 …getauxval; # introduced-arm=18 introduced-arm64=21 introduced-mips=18 introduced-mips64=21 introdu…
|
D | libc.arm.map | 421 …getauxval; # introduced-arm=18 introduced-arm64=21 introduced-mips=18 introduced-mips64=21 introdu…
|
D | libc.map.txt | 423 …getauxval; # introduced-arm=18 introduced-arm64=21 introduced-mips=18 introduced-mips64=21 introdu…
|