Lines Matching refs:libsepolh
79 void *libsepolh = NULL; in selinux_mkload_policy() local
80 libsepolh = dlopen("libsepol.so.1", RTLD_NOW); in selinux_mkload_policy()
81 if (libsepolh) { in selinux_mkload_policy()
85 vers_max = dlsym(libsepolh, "sepol_policy_kern_vers_max"); in selinux_mkload_policy()
87 vers_min = dlsym(libsepolh, "sepol_policy_kern_vers_min"); in selinux_mkload_policy()
90 policy_file_create = dlsym(libsepolh, "sepol_policy_file_create"); in selinux_mkload_policy()
92 policy_file_free = dlsym(libsepolh, "sepol_policy_file_free"); in selinux_mkload_policy()
94 policy_file_set_mem = dlsym(libsepolh, "sepol_policy_file_set_mem"); in selinux_mkload_policy()
96 policydb_create = dlsym(libsepolh, "sepol_policydb_create"); in selinux_mkload_policy()
98 policydb_free = dlsym(libsepolh, "sepol_policydb_free"); in selinux_mkload_policy()
100 policydb_read = dlsym(libsepolh, "sepol_policydb_read"); in selinux_mkload_policy()
102 policydb_set_vers = dlsym(libsepolh, "sepol_policydb_set_vers"); in selinux_mkload_policy()
104 policydb_to_image = dlsym(libsepolh, "sepol_policydb_to_image"); in selinux_mkload_policy()
106 genbools_array = dlsym(libsepolh, "sepol_genbools_array"); in selinux_mkload_policy()
108 genusers = dlsym(libsepolh, "sepol_genusers"); in selinux_mkload_policy()
110 genbools = dlsym(libsepolh, "sepol_genbools"); in selinux_mkload_policy()
296 if (libsepolh) in selinux_mkload_policy()
297 dlclose(libsepolh); in selinux_mkload_policy()