Searched refs:getauxval (Results 1 - 10 of 10) sorted by relevance

/bionic/tests/
H A Dgetauxval_test.cpp21 // 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 Dauxv.h36 unsigned long int getauxval(unsigned long int type);
/bionic/libc/bionic/
H A Dgetauxval.cpp37 extern "C" unsigned long int getauxval(unsigned long int type) { function
H A Dlibc_init_static.cpp70 Elf32_Phdr* phdr_start = reinterpret_cast<Elf32_Phdr*>(getauxval(AT_PHDR));
71 unsigned long int phdr_ct = getauxval(AT_PHNUM);
H A Ddl_iterate_phdr_static.c65 Elf32_Ehdr* ehdr_vdso = (Elf32_Ehdr*) getauxval(AT_SYSINFO_EHDR);
H A Dlibc_init_common.cpp120 __stack_chk_guard = *reinterpret_cast<uintptr_t*>(getauxval(AT_RANDOM));
/bionic/libc/private/
H A DKernelArgumentBlock.h49 // 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 Dlinker_environ.cpp49 _AT_SECURE_value = args.getauxval(AT_SECURE, &kernel_supplied_AT_SECURE);
H A Dlinker.cpp1593 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 DAndroid.mk212 bionic/getauxval.cpp \

Completed in 462 milliseconds