Symbol: dlsym
include/dlfcn.h
61
void *dlsym(void * __restrict, const char * __restrict);
include/link_aout.h
174
void *(*dlsym)(void *, const char *);
lib/libc/citrus/citrus_module.c
294
p = dlsym((void *)handle, name);
lib/libc/dlfcn/dlfcn_elf.c
64
__weak_alias(dlsym,___dlsym)
lib/libc/net/nsdispatch.c
330
reg_fn = (nss_module_register_fn) dlsym(mod.handle,
lib/librumpclient/rumpclient.c
852
return dlsym(handle, symbol);
lib/librumphijack/hijack.c
959
host_fork = dlsym(RTLD_NEXT, "fork");
lib/librumphijack/hijack.c
960
host_daemon = dlsym(RTLD_NEXT, "daemon");
lib/librumphijack/hijack.c
962
host_mmap = dlsym(RTLD_NEXT, "mmap");
lib/librumphijack/hijack.c
981
syscalls[i].bs_host = dlsym(RTLD_NEXT,
lib/librumphijack/hijack.c
987
syscalls[i].bs_rump = dlsym(RTLD_NEXT,
lib/librumphijack/hijackdlsym.c
52
return dlsym(handle, symbol);
lib/librumpuser/rumpuser_dl.c
365
mi_start = dlsym(handle, "__start_link_set_modules");
lib/librumpuser/rumpuser_dl.c
366
mi_end = dlsym(handle, "__stop_link_set_modules");
lib/librumpuser/rumpuser_dl.c
370
rc = dlsym(handle, "__start_link_set_rump_components");
lib/librumpuser/rumpuser_dl.c
371
rc_end = dlsym(handle, "__stop_link_set_rump_components");
lib/librumpuser/rumpuser_dl.c
379
sfp = dlsym(handle, "__start_link_set_sysctl_funcs");
lib/librumpuser/rumpuser_dl.c
380
sfp_end = dlsym(handle, "__stop_link_set_sysctl_funcs");
lib/librumpuser/rumpuser_dl.c
388
evp = dlsym(handle, "__start_link_set_evcnts");
lib/librumpuser/rumpuser_dl.c
389
evp_end = dlsym(handle, "__stop_link_set_evcnts");
lib/libukfs/ukfs.c
1162
mi_start = dlsym(handle, "__start_link_set_modules");
lib/libukfs/ukfs.c
1163
mi_end = dlsym(handle, "__stop_link_set_modules");
libexec/ld.elf_so/compat.c
80
[(RTLD_OBJ_DLOPEN_OFFSET / sizeof(uintptr_t)) + 1] = (uintptr_t)dlsym,
libexec/ld.elf_so/rtld.c
1775
__strong_alias(__dlsym,dlsym)
libexec/ld.elf_so/rtld.c
1777
dlsym(void *handle, const char *name)
libexec/ld.elf_so/rtld.h
387
__dso_public void *dlsym(void *, const char *);
tests/lib/libc/regex/t_exhaust.c
71
if (m == NULL) m = dlsym(RTLD_NEXT, "malloc");
tests/lib/libc/regex/t_exhaust.c
85
if (f == NULL) f = dlsym(RTLD_NEXT, "malloc");
tests/lib/libc/setjmp/t_setjmp.c
130
if ((compat13_sigsetjmp = dlsym(RTLD_SELF, "sigsetjmp")) == NULL ||
tests/lib/libc/setjmp/t_setjmp.c
131
(compat13_siglongjmp = dlsym(RTLD_SELF, "siglongjmp")) == NULL ||
tests/lib/libc/setjmp/t_setjmp.c
132
(compat13_setjmp = dlsym(RTLD_SELF, "setjmp")) == NULL ||
tests/lib/libc/setjmp/t_setjmp.c
133
(compat13_longjmp = dlsym(RTLD_SELF, "longjmp")) == NULL)
tests/lib/libc/setjmp/t_sigstack.c
80
if ((compat13_sigsetjmp = dlsym(RTLD_SELF, "sigsetjmp")) == NULL ||
tests/lib/libc/setjmp/t_sigstack.c
81
(compat13_siglongjmp = dlsym(RTLD_SELF, "siglongjmp")) == NULL ||
tests/lib/libc/setjmp/t_sigstack.c
82
(compat13_setjmp = dlsym(RTLD_SELF, "setjmp")) == NULL ||
tests/lib/libc/setjmp/t_sigstack.c
83
(compat13_longjmp = dlsym(RTLD_SELF, "longjmp")) == NULL)
tests/lib/libc/string/t_strchr.c
250
strchr_fn = dlsym(dl_handle, "test_strchr");
tests/lib/libc/string/t_strchrnul.c
249
strchrnul_fn = dlsym(dl_handle, "test_strchrnul");
tests/lib/libc/string/t_strlen.c
112
strlen_fn = dlsym(dl_handle, "test_strlen");
tests/lib/libc/tls/t_tls_dlopen.c
94
testf_helper = dlsym(handle, "testf_dso_helper");
tests/lib/libpthread/dlopen/t_dlopen.c
146
testf_dso_mutex_unlock = dlsym(handle, "testf_dso_mutex_unlock");
tests/lib/libpthread/dlopen/t_dlopen.c
194
testf_dso_mutex_lock = dlsym(handle, "testf_dso_mutex_lock");
tests/lib/libpthread/dlopen/t_dlopen.c
53
testf_dso_null = dlsym(handle, "testf_dso_null");
tests/lib/libpthread/dlopen/t_dlopen.c
96
testf_dso_null = dlsym(handle, "testf_dso_null");
tests/lib/libpthread/dlopen/t_dso_pthread_create.c
88
testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create");
tests/lib/libpthread/dlopen/t_main_pthread_create.c
89
testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create");
tests/libexec/ld.elf_so/h_locking.c
70
tls_callback_sym = dlsym(dso, "tls_callback");
tests/libexec/ld.elf_so/h_thread_local_dtor.c
66
testfunc = dlsym(dso, "testfunc");
tests/libexec/ld.elf_so/t_dlerror-false.c
62
sym = dlsym(handle, "sin");
tests/libexec/ld.elf_so/t_ifunc.c
136
sym = dlsym(handle, "ifunc_plt");
tests/libexec/ld.elf_so/t_ifunc.c
144
sym2 = dlsym(handle, "ifunc_indirect");
tests/libexec/ld.elf_so/t_ifunc.c
82
sym = dlsym(handle, "ifunc");
tests/libexec/ld.elf_so/t_tls_extern.c
119
ATF_REQUIRE_DL(fdef = dlsym(def, "fdef"));
tests/libexec/ld.elf_so/t_tls_extern.c
307
ATF_REQUIRE_DL(fdynamic = dlsym(use_dynamic, "fdynamic"));
tests/libexec/ld.elf_so/t_tls_extern.c
327
ATF_REQUIRE_DL(fdynamic = dlsym(use_dynamic, "fdynamic"));
tests/libexec/ld.elf_so/t_tls_extern.c
328
ATF_REQUIRE_DL(fstatic = dlsym(use_static, "fstatic"));
tests/libexec/ld.elf_so/t_tls_extern.c
351
ATF_REQUIRE_DL(fstatic = dlsym(use_static, "fstatic"));
tests/libexec/ld.elf_so/t_tls_extern.c
354
ATF_REQUIRE_DL(fdynamic = dlsym(use_dynamic, "fdynamic"));
tests/libexec/ld.elf_so/t_tls_extern.c
376
ATF_REQUIRE_DL(fstatic = dlsym(use_static, "fstatic"));
tests/libexec/ld.elf_so/t_tls_extern.c
377
ATF_REQUIRE_DL(fdynamic = dlsym(use_dynamic, "fdynamic"));
tests/libexec/ld.elf_so/t_tls_extern.c
418
ATF_REQUIRE_DL(fdef = dlsym(def, "fdef"));
tests/libexec/ld.elf_so/t_tls_extern.c
425
ATF_REQUIRE_DL(fuse = dlsym(use, "fuse"));
tests/libexec/ld.elf_so/t_tls_extern.c
55
ATF_REQUIRE_DL(fdef = dlsym(def, "fdef"));
tests/libexec/ld.elf_so/t_tls_extern.c
58
ATF_REQUIRE_DL(fuse = dlsym(use, "fuse"));
tests/libexec/ld.elf_so/t_tls_extern.c
72
lazy: ATF_REQUIRE_DL(fdef = dlsym(def, "fdef"));
tests/libexec/ld.elf_so/t_tls_extern.c
73
ATF_REQUIRE_DL(fuse = dlsym(use, "fuse"));
tests/rump/rumpkern/t_modcmd.c
143
mi_start = dlsym(handle, "__start_link_set_modules");
tests/rump/rumpkern/t_modcmd.c
144
mi_end = dlsym(handle, "__stop_link_set_modules");
usr.sbin/npf/npfctl/npf_extmod.c
62
sym = dlsym(handle, buf);