Searched refs:dlopen (Results 1 - 25 of 51) sorted by relevance

123

/src/tests/lib/libpthread/dlopen/
H A DMakefile7 TESTSDIR= ${TESTSBASE}/lib/libpthread/dlopen
H A Dt_dlopen.c50 handle = dlopen(DSO, flags);
51 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
61 ATF_TC(dlopen);
62 ATF_TC_HEAD(dlopen, tc)
65 "Test if dlopen can load -lpthread DSO");
67 ATF_TC_BODY(dlopen, tc)
76 "Test if dlopen can load -lpthread DSO");
93 handle = dlopen(DSO, flags);
94 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
115 "Test if dlopen ca
[all...]
H A Dt_main_pthread_create.c86 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
87 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
H A Dt_dso_pthread_create.c85 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
86 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
/src/tests/libexec/ld.elf_so/
H A Dh_df_1_noopen.c40 handle = dlopen("libpthread.so", RTLD_NOLOAD);
H A Dt_tls_extern.c54 ATF_REQUIRE_DL(def = dlopen(libdef, 0));
57 ATF_REQUIRE_DL(use = dlopen(libuse, 0));
62 ATF_REQUIRE_DL(def = dlopen(libdef, 0));
63 ATF_REQUIRE_DL(use = dlopen(libuse, 0));
66 ATF_REQUIRE_DL(use = dlopen(libuse, 0));
67 ATF_REQUIRE_DL(def = dlopen(libdef, 0));
70 ATF_REQUIRE_DL(use = dlopen(libuse, 0));
71 ATF_REQUIRE_DL(def = dlopen(libdef, RTLD_NOLOAD));
110 atf_tc_set_md_var(tc, "descr", "dlopen refuses extern __thread for TLS,"
118 ATF_REQUIRE_DL(def = dlopen("libh_def_dynami
[all...]
H A Dt_dlerror-cleared.c42 "error set by dlopen persists past a successful dlopen call");
51 * Test that an error set by dlopen() persists past a successful
52 * dlopen() call.
54 handle = dlopen("libnonexistent.so", RTLD_LAZY);
56 handle = dlopen("libm.so", RTLD_NOW);
H A Dt_dlinfo.c70 atf_tc_set_md_var(tc, "descr", "dlinfo dlopen'd handle works");
78 handle = dlopen("libutil.so", RTLD_LAZY);
79 ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());
90 atf_tc_set_md_var(tc, "descr", "dlopen'd dso's show up in the list");
97 handle = dlopen("libutil.so", RTLD_LAZY);
98 ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());
109 ATF_REQUIRE_MSG(map, "dlopen()d object not found from linkmap");
110 ATF_REQUIRE_MSG(dlopen(map->l_name, RTLD_LAZY) != NULL,
111 "could not dlopen() name in linkmap: %s", dlerror());
H A Dt_df_1_noopen.sh39 h_df_1_noopen1: Cannot dlopen non-loadable /usr/lib/libpthread.so
H A Dh_thread_local_dtor.c63 dso = dlopen("libh_helper_dso3.so", RTLD_LAZY);
81 dso = dlopen("libh_helper_dso3.so", RTLD_LAZY);
H A Dt_dlvsym.c53 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
85 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
117 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
147 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
178 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
H A Dt_rtld_r_debug.c171 ATF_TC(dlopen);
172 ATF_TC_HEAD(dlopen, tc)
175 "check whether r_debug is well-formed after a dlopen(3) call");
177 ATF_TC_BODY(dlopen, tc)
182 handle = dlopen("libutil.so", RTLD_LAZY);
183 ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());
197 ATF_TP_ADD_TC(tp, dlopen);
H A Dt_dlerror-false.c42 "error set by dlopen persists past a successful dlopen call");
57 handle = dlopen("libm.so", RTLD_LAZY);
H A Dh_locking.c66 if ((dso = dlopen("libh_helper_dso2.so", RTLD_LAZY)) == NULL) {
85 if ((dso = dlopen(arg, RTLD_LAZY)) == NULL) {
144 if (strcmp(argv[1], "dlopen") == 0)
H A Dt_dlclose_thread.c62 handle = dlopen(libh_helper_dso[i], RTLD_LAZY | RTLD_LOCAL);
73 "Test concurrent dlopen and dlclose with destructors");
H A Dt_ifunc.c77 handle = dlopen("libh_helper_ifunc_dso.so", RTLD_LAZY);
131 handle = dlopen("libh_helper_ifunc_dso.so", RTLD_LAZY);
/src/tests/lib/libpthread/dlopen/dso/
H A DMakefile13 LIBDIR= ${TESTSBASE}/lib/libpthread/dlopen
14 SHLIBDIR= ${TESTSBASE}/lib/libpthread/dlopen
/src/tests/lib/csu/
H A Dh_initfini3.cxx9 static const char msg2[] = "main after dlopen\n";
15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL);
17 err(1, "dlopen");
H A Dt_crt0.sh63 atf_set "descr" "Checks support for init/fini sections in dlopen"
71 main after dlopen
/src/sys/external/bsd/compiler_rt/dist/test/profile/Inputs/
H A Dinstrprof-dlopen-main.c15 void *f1_handle = dlopen(DLOPEN_FUNC_DIR"/func.shared", DLOPEN_FLAGS);
28 void *f2_handle = dlopen(DLOPEN_FUNC_DIR"/func2.shared", DLOPEN_FLAGS);
/src/lib/libc/dlfcn/
H A Ddlfcn_elf.c42 #undef dlopen
49 #define dlopen ___dlopen macro
62 __weak_alias(dlopen,___dlopen)
96 dlopen(const char *name, int mode) function in typeref:typename:void *
/src/libexec/ld.elf_so/
H A Dcompat.c32 * Early ELF support in NetBSD up to April 2nd, 2000 exposed dlopen and
75 [(RTLD_OBJ_DLOPEN_OFFSET / sizeof(uintptr_t)) + 0] = (uintptr_t)dlopen,
/src/tests/kernel/
H A Dt_origin.sh54 void *h = dlopen(lib, RTLD_NOW);
56 errx(EXIT_FAILURE, "dlopen: %s", dlerror());
/src/include/
H A Ddlfcn.h59 void *dlopen(const char *, int);
75 /* Values for dlopen `mode'. */
/src/tests/lib/libc/tls/
H A Dt_tls_dlopen.c53 "Test (un)initialized TLS variables and dlopen");
91 handle = dlopen("h_tls_dlopen.so", RTLD_NOW | RTLD_LOCAL);

Completed in 20 milliseconds

123