• Home
  • Raw
  • Download

Lines Matching refs:extinfo

200 static void handle_relro_sharing(struct dso *p, const dl_extinfo *extinfo, ssize_t *relro_fd_offset…
2470 static void reloc_all(struct dso *p, const dl_extinfo *extinfo) in reloc_all() argument
2500 handle_relro_sharing(p, extinfo, &relro_fd_offset); in reloc_all()
3305 …st char *file, int mode, const char *namespace, const void *caller_addr, const dl_extinfo *extinfo) in dlopen_impl() argument
3330 if (extinfo) { in dlopen_impl()
3331 reserved_address_recursive = extinfo->flag & DL_EXT_RESERVED_ADDRESS_RECURSIVE; in dlopen_impl()
3332 if (extinfo->flag & DL_EXT_RESERVED_ADDRESS) { in dlopen_impl()
3334 reserved_params.start_addr = extinfo->reserved_addr; in dlopen_impl()
3335 reserved_params.reserved_size = extinfo->reserved_size; in dlopen_impl()
3338 } else if (extinfo->flag & DL_EXT_RESERVED_ADDRESS_HINT) { in dlopen_impl()
3340 reserved_params.start_addr = extinfo->reserved_addr; in dlopen_impl()
3341 reserved_params.reserved_size = extinfo->reserved_size; in dlopen_impl()
3513 reloc_all(p, extinfo);
3646 void *dlopen_ns_ext(Dl_namespace *dlns, const char *file, int mode, const dl_extinfo *extinfo) in dlopen_ns_ext() argument
3661 extinfo ? extinfo->flag : 0); in dlopen_ns_ext()
3662 return dlopen_impl(file, mode, dlns->name, caller_addr, extinfo); in dlopen_ns_ext()
4488 void* dlopen_ext(const char *file, int mode, const dl_extinfo *extinfo) in dlopen_ext() argument
4493 if (extinfo != NULL) { in dlopen_ext()
4494 if ((extinfo->flag & ~(DL_EXT_VALID_FLAG_BITS)) != 0) { in dlopen_ext()
4495 LD_LOGE("Error dlopen_ext %{public}s: invalid flag %{public}x", file, extinfo->flag); in dlopen_ext()
4503 extinfo ? extinfo->flag : 0); in dlopen_ext()
4504 return dlopen_impl(file, mode, NULL, caller_addr, extinfo); in dlopen_ext()
5680 static void handle_relro_sharing(struct dso *p, const dl_extinfo *extinfo, ssize_t *relro_fd_offset) in handle_relro_sharing() argument
5682 if (extinfo == NULL) { in handle_relro_sharing()
5685 if (extinfo->flag & DL_EXT_WRITE_RELRO) { in handle_relro_sharing()
5687 if (serialize_gnu_relro(extinfo->relro_fd, p, relro_fd_offset) < 0) { in handle_relro_sharing()
5692 } else if (extinfo->flag & DL_EXT_USE_RELRO) { in handle_relro_sharing()
5694 if (map_gnu_relro(extinfo->relro_fd, p, relro_fd_offset) < 0) { in handle_relro_sharing()