| /freebsd/crypto/openssl/crypto/dso/ |
| H A D | dso_lib.c | 47 int DSO_free(DSO *dso) in DSO_free() argument 51 if (dso == NULL) in DSO_free() 54 if (CRYPTO_DOWN_REF(&dso->references, &i) <= 0) in DSO_free() 57 REF_PRINT_COUNT("DSO", i, dso); in DSO_free() 62 if ((dso->flags & DSO_FLAG_NO_UNLOAD_ON_FREE) == 0) { in DSO_free() 63 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) { in DSO_free() 69 if ((dso->meth->finish != NULL) && !dso->meth->finish(dso)) { in DSO_free() 74 sk_void_free(dso->meth_data); in DSO_free() 75 OPENSSL_free(dso->filename); in DSO_free() 76 OPENSSL_free(dso->loaded_filename); in DSO_free() [all …]
|
| H A D | dso_dl.c | 19 static int dl_load(DSO *dso); 20 static int dl_unload(DSO *dso); 21 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname); 22 static char *dl_name_converter(DSO *dso, const char *filename); 23 static char *dl_merger(DSO *dso, const char *filespec1, 53 static int dl_load(DSO *dso) in dl_load() argument 61 char *filename = DSO_convert_filename(dso, NULL); in dl_load() 67 …ptr = shl_load(filename, BIND_IMMEDIATE | (dso->flags & DSO_FLAG_NO_NAME_TRANSLATION ? 0 : DYNAMIC… in dl_load() 79 if (!sk_push(dso->meth_data, (char *)ptr)) { in dl_load() 87 dso->loaded_filename = filename; in dl_load() [all …]
|
| H A D | dso_dlfcn.c | 38 static int dlfcn_load(DSO *dso); 39 static int dlfcn_unload(DSO *dso); 40 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname); 41 static char *dlfcn_name_converter(DSO *dso, const char *filename); 42 static char *dlfcn_merger(DSO *dso, const char *filespec1, 93 static int dlfcn_load(DSO *dso) in dlfcn_load() argument 97 char *filename = DSO_convert_filename(dso, NULL); in dlfcn_load() 106 if (dso->flags & DSO_FLAG_GLOBAL_SYMBOLS) in dlfcn_load() 124 if (!sk_void_push(dso->meth_data, (char *)ptr)) { in dlfcn_load() 129 dso->loaded_filename = filename; in dlfcn_load() [all …]
|
| H A D | dso_vms.c | 50 static int vms_load(DSO *dso); 51 static int vms_unload(DSO *dso); 52 static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname); 53 static char *vms_name_converter(DSO *dso, const char *filename); 54 static char *vms_merger(DSO *dso, const char *filespec1, 97 static int vms_load(DSO *dso) in vms_load() argument 101 char *filename = DSO_convert_filename(dso, NULL); in vms_load() 217 if (!sk_void_push(dso->meth_data, (char *)p)) { in vms_load() 223 dso->loaded_filename = filename; in vms_load() 237 static int vms_unload(DSO *dso) in vms_unload() argument [all …]
|
| H A D | dso_local.h | 73 int (*dso_load)(DSO *dso); 75 int (*dso_unload)(DSO *dso); 83 DSO_FUNC_TYPE (*dso_bind_func)(DSO *dso, const char *symname); 88 long (*dso_ctrl)(DSO *dso, int cmd, long larg, void *parg); 100 int (*init)(DSO *dso); 101 int (*finish)(DSO *dso);
|
| H A D | dso_win32.c | 61 static int win32_load(DSO *dso); 62 static int win32_unload(DSO *dso); 63 static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname); 64 static char *win32_name_converter(DSO *dso, const char *filename); 65 static char *win32_merger(DSO *dso, const char *filespec1, 96 static int win32_load(DSO *dso) in win32_load() argument 100 char *filename = DSO_convert_filename(dso, NULL); in win32_load() 116 if (!sk_void_push(dso->meth_data, p)) { in win32_load() 121 dso->loaded_filename = filename; in win32_load() 132 static int win32_unload(DSO *dso) in win32_unload() argument [all …]
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | dso.h | 87 int DSO_free(DSO *dso); 88 int DSO_flags(DSO *dso); 89 int DSO_up_ref(DSO *dso); 90 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg); 96 const char *DSO_get_filename(DSO *dso); 97 int DSO_set_filename(DSO *dso, const char *filename); 108 char *DSO_convert_filename(DSO *dso, const char *filename); 115 char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2); 124 DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags); 127 DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname);
|
| /freebsd/lib/libc/stdlib/ |
| H A D | atexit.c | 177 __cxa_atexit(void (*func)(void *), void *arg, void *dso) in __cxa_atexit() argument 185 fn.fn_dso = dso; in __cxa_atexit() 202 __cxa_finalize(void *dso) in __cxa_finalize() argument 209 if (dso != NULL) { in __cxa_finalize() 210 has_phdr = _rtld_addr_phdr(dso, &phdr_info); in __cxa_finalize() 217 current_finalize_dso = dso; in __cxa_finalize() 225 if (dso != NULL && dso != fn.fn_dso) { in __cxa_finalize() 250 if (dso == NULL) in __cxa_finalize()
|
| H A D | cxa_thread_atexit_impl.c | 67 void *dso; member 95 new_dtor->dso = dso_symbol; in __cxa_thread_atexit_hidden() 110 "__cxa_thread_call_dtors: dtr %p from unloaded dso, skipping\n", in walk_cb_call()
|
| H A D | atexit.h | 35 void __cxa_finalize(void *dso);
|
| /freebsd/contrib/netbsd-tests/libexec/ld.elf_so/ |
| H A D | h_locking.c | 63 void *dso; in test_dl_iterate_phdr() local 66 if ((dso = dlopen("libh_helper_dso2.so", RTLD_LAZY)) == NULL) { in test_dl_iterate_phdr() 70 tls_callback_sym = dlsym(dso, "tls_callback"); in test_dl_iterate_phdr() 84 void *dso; in init_fini_helper() local 85 if ((dso = dlopen(arg, RTLD_LAZY)) == NULL) { in init_fini_helper() 89 dlclose(dso); in init_fini_helper()
|
| /freebsd/crypto/openssl/crypto/conf/ |
| H A D | conf_mod.c | 40 DSO *dso; member 77 static CONF_MODULE *module_add(DSO *dso, const char *name, 298 DSO *dso = NULL; in module_load_dso() local 310 dso = DSO_load(NULL, path, NULL, 0); in module_load_dso() 311 if (dso == NULL) { in module_load_dso() 315 ifunc = (conf_init_func *)DSO_bind_func(dso, DSO_mod_init_name); in module_load_dso() 320 ffunc = (conf_finish_func *)DSO_bind_func(dso, DSO_mod_finish_name); in module_load_dso() 322 md = module_add(dso, name, ifunc, ffunc); in module_load_dso() 330 DSO_free(dso); in module_load_dso() 336 static CONF_MODULE *module_add(DSO *dso, const char *name, in module_add() argument [all …]
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | init.c | 160 DSO *dso; in DEFINE_RUN_ONCE_STATIC() local 166 dso = DSO_dsobyaddr(&base_inited, DSO_FLAG_NO_UNLOAD_ON_FREE); in DEFINE_RUN_ONCE_STATIC() 173 (dso == NULL ? "No!" : "Yes.")); in DEFINE_RUN_ONCE_STATIC() 174 DSO_free(dso); in DEFINE_RUN_ONCE_STATIC() 733 DSO *dso = NULL; in OPENSSL_atexit() 742 dso = DSO_dsobyaddr(handlersym.sym, DSO_FLAG_NO_UNLOAD_ON_FREE); in OPENSSL_atexit() 746 (dso == NULL ? "No!" : "Yes.")); in OPENSSL_atexit() 747 DSO_free(dso); in OPENSSL_atexit()
|
| /freebsd/lib/csu/tests/ |
| H A D | fini_test.c | 139 void *dso = __dso_handle; in dso_handle_check() local 142 ATF_REQUIRE_MSG(dso != NULL, in dso_handle_check() 145 ATF_REQUIRE_MSG(dso == NULL, in dso_handle_check()
|
| H A D | Makefile | 3 SUBDIR= dso 10 SUBDIR_DEPEND_dynamiclib=dso
|
| /freebsd/lib/libc/arm/aeabi/ |
| H A D | aeabi_atexit.c | 33 __aeabi_atexit(void *object, void (*func)(void*), void *dso) in __aeabi_atexit() argument 35 return __cxa_atexit(func, object, dso); in __aeabi_atexit()
|
| /freebsd/lib/csu/tests/dynamiclib/ |
| H A D | Makefile | 3 DPADD+= ${.OBJDIR:H}/dso/libh_csu.so 4 LDFLAGS+= -Wl,-rpath,${TESTSDIR} -L${.OBJDIR:H}/dso
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | plugin.c | 52 } dso; member 116 e->u.dso.dsohandle = dlopen(path, RTLD_LOCAL|RTLD_LAZY); in loadlib() 117 e->u.dso.path = path; in loadlib() 284 if (e->type == DSO && strcmp(e->u.dso.path, path) == 0) in load_plugins() 339 if (e->u.dso.dsohandle == NULL) in _krb5_plugin_find() 341 sym = dlsym(e->u.dso.dsohandle, name); in _krb5_plugin_find()
|
| /freebsd/crypto/openssl/Configurations/ |
| H A D | windows-makefile.tmpl | 53 MODULES={- our @MODULES = map { platform->dso($_) } 69 join(" ", map { platform->dso($_) } @fipsmodules) -} 71 join(", ", map { basename(platform->dso($_)) } @fipsmodules) -} 105 join(" ", map { quotify1(platform->dso($_)) } 117 join(" ", map { quotify1(platform->dso($_)) } 130 join(" ", map { quotify1(platform->dso($_)) } 697 or grep { $x eq $_ } @{$unified_info{modules}} and platform->dso($x) 769 dso => '$(DSO_CFLAGS) $(DSO_CPPFLAGS)', 884 dso => ' $(DSO_CFLAGS)', 889 dso => ' $(DSO_CPPFLAGS)', [all …]
|
| /freebsd/crypto/openssl/crypto/md5/ |
| H A D | build.info | 23 # without conditioning this on dso. The issue is MD5 which is needed in the 27 # when building without 'dso', liblegacy is included in libcrypto.
|
| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 01-test_fipsmodule_cnf.t | 31 my $fipsmodule = bldtop_file('providers', platform->dso('fips'));
|
| H A D | 00-prep_fipsmodule_cnf.t | 27 my $fipsmodule = bldtop_file('providers', platform->dso('fips'));
|
| H A D | 90-test_fipsload.t | 28 my $fips = bldtop_file('providers', platform->dso('fips'));
|
| /freebsd/crypto/openssl/test/ |
| H A D | provider_internal_test.cnf.in | 14 module = {- platform->dso('p_test') -}
|
| /freebsd/lib/libthr/tests/dlopen/dso/ |
| H A D | Makefile | 1 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso
|