Lines Matching refs:libsepolh
78 void *libsepolh = NULL;
79 libsepolh = dlopen("libsepol.so.2", RTLD_NOW);
80 if (libsepolh) {
84 vers_max = dlsym(libsepolh, "sepol_policy_kern_vers_max");
86 vers_min = dlsym(libsepolh, "sepol_policy_kern_vers_min");
89 policy_file_create = dlsym(libsepolh, "sepol_policy_file_create");
91 policy_file_free = dlsym(libsepolh, "sepol_policy_file_free");
93 policy_file_set_mem = dlsym(libsepolh, "sepol_policy_file_set_mem");
95 policydb_create = dlsym(libsepolh, "sepol_policydb_create");
97 policydb_free = dlsym(libsepolh, "sepol_policydb_free");
99 policydb_read = dlsym(libsepolh, "sepol_policydb_read");
101 policydb_set_vers = dlsym(libsepolh, "sepol_policydb_set_vers");
103 policydb_to_image = dlsym(libsepolh, "sepol_policydb_to_image");
209 if (libsepolh)
210 dlclose(libsepolh);