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_main.h64 const android_dlextinfo* extinfo,
Ddlfcn.cpp58 const android_dlextinfo* extinfo,
134 const android_dlextinfo* extinfo, in dlopen_ext() argument
138 void* result = do_dlopen(filename, flags, extinfo, caller_addr); in dlopen_ext()
148 const android_dlextinfo* extinfo, in __loader_android_dlopen_ext() argument
150 return dlopen_ext(filename, flags, extinfo, caller_addr); in __loader_android_dlopen_ext()
Dlinker.cpp663 void set_extinfo(const android_dlextinfo* extinfo) { in set_extinfo() argument
664 extinfo_ = extinfo; in set_extinfo()
1266 const android_dlextinfo* extinfo = task->get_extinfo(); in load_library() local
1293 if (extinfo == nullptr || (extinfo->flags & ANDROID_DLEXT_FORCE_LOAD) == 0) { in load_library()
1416 const android_dlextinfo* extinfo = task->get_extinfo(); in load_library() local
1420 if (extinfo != nullptr && (extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD) != 0) { in load_library()
1422 if ((extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET) != 0) { in load_library()
1423 file_offset = extinfo->library_fd_offset; in load_library()
1426 if (!realpath_fd(extinfo->library_fd, &realpath)) { in load_library()
1436 task->set_fd(extinfo->library_fd, false); in load_library()
[all …]
Dlinker.h112 const android_dlextinfo* extinfo,
Dlinker_soinfo.h226 const android_dlextinfo* extinfo, size_t* relro_fd_offset);