Searched refs:getauxval (Results 1 - 10 of 10) sorted by relevance
/bionic/tests/ |
H A D | getauxval_test.cpp | 21 // getauxval() was only added as of glibc version 2.16. 37 TEST(getauxval, expected_values) { 38 ASSERT_EQ((unsigned long int) 0, getauxval(AT_SECURE)); 39 ASSERT_EQ(getuid(), getauxval(AT_UID)); 40 ASSERT_EQ(geteuid(), getauxval(AT_EUID)); 41 ASSERT_EQ(getgid(), getauxval(AT_GID)); 42 ASSERT_EQ(getegid(), getauxval(AT_EGID)); 43 ASSERT_EQ((unsigned long int) getpagesize(), getauxval(AT_PAGESZ)); 45 ASSERT_NE((unsigned long int) 0, getauxval(AT_PHDR)); 46 ASSERT_NE((unsigned long int) 0, getauxval(AT_PHNU [all...] |
/bionic/libc/include/sys/ |
H A D | auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/bionic/libc/bionic/ |
H A D | getauxval.cpp | 37 extern "C" unsigned long int getauxval(unsigned long int type) { function
|
H A D | libc_init_static.cpp | 70 Elf32_Phdr* phdr_start = reinterpret_cast<Elf32_Phdr*>(getauxval(AT_PHDR)); 71 unsigned long int phdr_ct = getauxval(AT_PHNUM);
|
H A D | dl_iterate_phdr_static.c | 65 Elf32_Ehdr* ehdr_vdso = (Elf32_Ehdr*) getauxval(AT_SYSINFO_EHDR);
|
H A D | libc_init_common.cpp | 120 __stack_chk_guard = *reinterpret_cast<uintptr_t*>(getauxval(AT_RANDOM));
|
/bionic/libc/private/ |
H A D | KernelArgumentBlock.h | 49 // Similar to ::getauxval but doesn't require the libc global variables to be set up, 52 unsigned long getauxval(unsigned long type, bool* found_match = NULL) { function in class:KernelArgumentBlock
|
/bionic/linker/ |
H A D | linker_environ.cpp | 49 _AT_SECURE_value = args.getauxval(AT_SECURE, &kernel_supplied_AT_SECURE);
|
H A D | linker.cpp | 1593 Elf32_Ehdr* ehdr_vdso = reinterpret_cast<Elf32_Ehdr*>(args.getauxval(AT_SYSINFO_EHDR)); 1701 si->phdr = reinterpret_cast<Elf32_Phdr*>(args.getauxval(AT_PHDR)); 1702 si->phnum = args.getauxval(AT_PHNUM); 1703 si->entry = args.getauxval(AT_ENTRY); 1826 Elf32_Addr linker_addr = args.getauxval(AT_BASE);
|
/bionic/libc/ |
H A D | Android.mk | 212 bionic/getauxval.cpp \
|
Completed in 462 milliseconds