Home
last modified time | relevance | path

Searched refs:extinfo (Results 1 – 7 of 7) sorted by relevance

/bionic/tests/
Ddlext_test.cpp99 android_dlextinfo extinfo; in TEST_F() local
100 extinfo.flags = 0; in TEST_F()
101 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
111 android_dlextinfo extinfo; in TEST_F() local
112 extinfo.flags = ANDROID_DLEXT_USE_LIBRARY_FD; in TEST_F()
113 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
114 ASSERT_TRUE(extinfo.library_fd != -1); in TEST_F()
115 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo); in TEST_F()
129 android_dlextinfo extinfo; in TEST_F() local
130 extinfo.flags = ANDROID_DLEXT_USE_LIBRARY_FD | ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET; in TEST_F()
[all …]
/bionic/libdl/
Dlibdl.cpp69 const android_dlextinfo* extinfo,
131 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo) { in android_dlopen_ext() argument
133 return __loader_android_dlopen_ext(filename, flag, extinfo, caller_addr); in android_dlopen_ext()
/bionic/linker/
Dlinker.cpp553 void set_extinfo(const android_dlextinfo* extinfo) { in set_extinfo() argument
554 extinfo_ = extinfo; in set_extinfo()
1136 const android_dlextinfo* extinfo = task->get_extinfo(); in load_library() local
1164 if (extinfo == nullptr || (extinfo->flags & ANDROID_DLEXT_FORCE_LOAD) == 0) { in load_library()
1289 const android_dlextinfo* extinfo = task->get_extinfo(); in load_library() local
1291 if (extinfo != nullptr && (extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD) != 0) { in load_library()
1293 if ((extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET) != 0) { in load_library()
1294 file_offset = extinfo->library_fd_offset; in load_library()
1298 if (!realpath_fd(extinfo->library_fd, &realpath)) { in load_library()
1308 task->set_fd(extinfo->library_fd, false); in load_library()
[all …]
Ddlfcn.cpp59 const android_dlextinfo* extinfo,
135 const android_dlextinfo* extinfo, in dlopen_ext() argument
139 void* result = do_dlopen(filename, flags, extinfo, caller_addr); in dlopen_ext()
149 const android_dlextinfo* extinfo, in __loader_android_dlopen_ext() argument
151 return dlopen_ext(filename, flags, extinfo, caller_addr); in __loader_android_dlopen_ext()
Dlinker_main.h64 const android_dlextinfo* extinfo,
Dlinker.h88 const android_dlextinfo* extinfo,
Dlinker_soinfo.h255 const android_dlextinfo* extinfo, size_t* relro_fd_offset);