Searched refs:mod_pkg (Results 1 – 3 of 3) sorted by relevance
71 struct sepol_module_package *mod_pkg = NULL; in main() local123 rc = sepol_ppfile_to_module_package(in, &mod_pkg); in main()131 char *mod_name = mod_pkg->policy->p.name; in main()149 rc = sepol_module_package_to_cil(out, mod_pkg); in main()161 sepol_module_package_free(mod_pkg); in main()
7 int sepol_module_package_to_cil(FILE *fp, struct sepol_module_package *mod_pkg);8 int sepol_ppfile_to_module_package(FILE *fp, struct sepol_module_package **mod_pkg);
3107 static int seusers_to_cil(struct sepol_module_package *mod_pkg) in seusers_to_cil() argument3110 char *seusers = sepol_module_package_get_seusers(mod_pkg); in seusers_to_cil()3111 size_t seusers_len = sepol_module_package_get_seusers_len(mod_pkg); in seusers_to_cil()3184 static int netfilter_contexts_to_cil(struct sepol_module_package *mod_pkg) in netfilter_contexts_to_cil() argument3186 size_t netcons_len = sepol_module_package_get_netfilter_contexts_len(mod_pkg); in netfilter_contexts_to_cil()3195 static int user_extra_to_cil(struct sepol_module_package *mod_pkg) in user_extra_to_cil() argument3198 char *userx = sepol_module_package_get_user_extra(mod_pkg); in user_extra_to_cil()3199 size_t userx_len = sepol_module_package_get_user_extra_len(mod_pkg); in user_extra_to_cil()3267 static int file_contexts_to_cil(struct sepol_module_package *mod_pkg) in file_contexts_to_cil() argument3270 char *fc = sepol_module_package_get_file_contexts(mod_pkg); in file_contexts_to_cil()[all …]