Lines Matching refs:mod_pkg
3107 static int seusers_to_cil(struct sepol_module_package *mod_pkg) in seusers_to_cil() argument
3110 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() argument
3186 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() argument
3198 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() argument
3270 char *fc = sepol_module_package_get_file_contexts(mod_pkg); in file_contexts_to_cil()
3271 size_t fc_len = sepol_module_package_get_file_contexts_len(mod_pkg); in file_contexts_to_cil()
4105 int sepol_module_package_to_cil(FILE *fp, struct sepol_module_package *mod_pkg) in sepol_module_package_to_cil() argument
4112 pdb = sepol_module_package_get_policy(mod_pkg); in sepol_module_package_to_cil()
4124 rc = seusers_to_cil(mod_pkg); in sepol_module_package_to_cil()
4129 rc = netfilter_contexts_to_cil(mod_pkg); in sepol_module_package_to_cil()
4134 rc = user_extra_to_cil(mod_pkg); in sepol_module_package_to_cil()
4139 rc = file_contexts_to_cil(mod_pkg); in sepol_module_package_to_cil()
4194 int sepol_ppfile_to_module_package(FILE *fp, struct sepol_module_package **mod_pkg) in sepol_ppfile_to_module_package() argument
4242 *mod_pkg = pkg; in sepol_ppfile_to_module_package()