/src/tests/lib/libpthread/dlopen/ |
Makefile | 7 TESTSDIR= ${TESTSBASE}/lib/libpthread/dlopen
|
Makefile | 7 TESTSDIR= ${TESTSBASE}/lib/libpthread/dlopen
|
t_dlopen.c | 42 ATF_TC(dlopen); 44 ATF_TC_HEAD(dlopen, tc) 47 "Test if dlopen can load -lpthread DSO"); 52 ATF_TC_BODY(dlopen, tc) 56 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 57 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 72 "Test if dlopen can load -lpthread DSO without breaking mutex"); 84 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 85 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 104 "Test if dlopen can load -lpthread DSO and use libc locked mutex") [all...] |
t_dlopen.c | 42 ATF_TC(dlopen); 44 ATF_TC_HEAD(dlopen, tc) 47 "Test if dlopen can load -lpthread DSO"); 52 ATF_TC_BODY(dlopen, tc) 56 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 57 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 72 "Test if dlopen can load -lpthread DSO without breaking mutex"); 84 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 85 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 104 "Test if dlopen can load -lpthread DSO and use libc locked mutex") [all...] |
/src/tests/libexec/ld.elf_so/ |
h_df_1_noopen.c | 40 handle = dlopen("libpthread.so", RTLD_NOLOAD);
|
h_df_1_noopen.c | 40 handle = dlopen("libpthread.so", RTLD_NOLOAD);
|
t_tls_extern.c | 54 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_dynamic.so", 0)) [all...] |
t_tls_extern.c | 54 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_dynamic.so", 0)) [all...] |
t_dlerror-cleared.c | 42 "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);
|
t_dlerror-cleared.c | 42 "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);
|
t_dlinfo.c | 70 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());
|
t_dlinfo.c | 70 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());
|
t_df_1_noopen.sh | 39 h_df_1_noopen1: Cannot dlopen non-loadable /usr/lib/libpthread.so
|
t_df_1_noopen.sh | 39 h_df_1_noopen1: Cannot dlopen non-loadable /usr/lib/libpthread.so
|
h_thread_local_dtor.c | 63 dso = dlopen("libh_helper_dso3.so", RTLD_LAZY); 81 dso = dlopen("libh_helper_dso3.so", RTLD_LAZY);
|
h_thread_local_dtor.c | 63 dso = dlopen("libh_helper_dso3.so", RTLD_LAZY); 81 dso = dlopen("libh_helper_dso3.so", RTLD_LAZY);
|
t_dlvsym.c | 53 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);
|
t_rtld_r_debug.c | 171 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);
|
t_dlvsym.c | 53 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);
|
/src/tests/lib/libpthread/dlopen/dso/ |
Makefile | 13 LIBDIR= ${TESTSBASE}/lib/libpthread/dlopen 14 SHLIBDIR= ${TESTSBASE}/lib/libpthread/dlopen
|
Makefile | 13 LIBDIR= ${TESTSBASE}/lib/libpthread/dlopen 14 SHLIBDIR= ${TESTSBASE}/lib/libpthread/dlopen
|
/src/tests/lib/csu/ |
h_initfini3.cxx | 9 static const char msg2[] = "main after dlopen\n"; 15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL); 17 err(1, "dlopen");
|
h_initfini3.cxx | 9 static const char msg2[] = "main after dlopen\n"; 15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL); 17 err(1, "dlopen");
|
/src/sys/external/bsd/compiler_rt/dist/test/profile/Inputs/ |
instrprof-dlopen-main.c | 15 void *f1_handle = dlopen(DLOPEN_FUNC_DIR"/func.shared", DLOPEN_FLAGS); 28 void *f2_handle = dlopen(DLOPEN_FUNC_DIR"/func2.shared", DLOPEN_FLAGS);
|
instrprof-dlopen-main.c | 15 void *f1_handle = dlopen(DLOPEN_FUNC_DIR"/func.shared", DLOPEN_FLAGS); 28 void *f2_handle = dlopen(DLOPEN_FUNC_DIR"/func2.shared", DLOPEN_FLAGS);
|