| /src/tests/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_dso_pthread_create.c | 77 	handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 78 	ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
 
 | 
| t_main_pthread_create.c | 86 	handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 87 	ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
 
 | 
| /src/tests/libexec/ld.elf_so/ | 
| 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_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_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);
 
 | 
| 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_dlerror-false.c | 42 	    "error set by dlopen persists past a successful dlopen call"); 57 	handle = dlopen("libm.so", RTLD_LAZY);
 
 | 
| h_locking.c | 66 	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)
 
 | 
| t_ifunc.c | 77 		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/ | 
| 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");
 
 | 
| t_crt0.sh | 63 	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/ | 
| 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);
 
 | 
| /src/libexec/ld.elf_so/ | 
| compat.c | 32  * 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/lib/libc/dlfcn/ | 
| dlfcn_elf.c | 42 #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/tests/kernel/ | 
| t_origin.sh | 54 	void *h = dlopen(lib, RTLD_NOW); 56 		errx(EXIT_FAILURE, "dlopen: %s", dlerror());
 
 | 
| /src/tests/lib/libc/tls/ | 
| t_tls_dlopen.c | 53 	    "Test (un)initialized TLS variables and dlopen"); 91 	handle = dlopen("h_tls_dlopen.so", RTLD_NOW | RTLD_LOCAL);
 
 | 
| /src/include/ | 
| dlfcn.h | 59 void	*dlopen(const char *, int); 75 /* Values for dlopen `mode'. */
 
 | 
| /src/usr.sbin/npf/npfctl/ | 
| npf_extmod.c | 77 	handle = dlopen(extlib, RTLD_LAZY | RTLD_LOCAL); 79 		errx(EXIT_FAILURE, "dlopen: %s", dlerror());
 
 |