Lines Matching refs:cildb

577 static int semanage_direct_update_user_extra(semanage_handle_t * sh, cil_db_t *cildb)  in semanage_direct_update_user_extra()  argument
586 retval = cil_userprefixes_to_string(cildb, &data, &size); in semanage_direct_update_user_extra()
612 static int semanage_direct_update_seuser(semanage_handle_t * sh, cil_db_t *cildb) in semanage_direct_update_seuser() argument
621 retval = cil_selinuxusers_to_string(cildb, &data, &size); in semanage_direct_update_seuser()
1073 struct cil_db *cildb = NULL; in semanage_direct_commit() local
1228 cil_db_init(&cildb); in semanage_direct_commit()
1232 cil_set_disable_dontaudit(cildb, disable_dontaudit); in semanage_direct_commit()
1233 cil_set_disable_neverallow(cildb, !(sh->conf->expand_check)); in semanage_direct_commit()
1234 cil_set_preserve_tunables(cildb, preserve_tunables); in semanage_direct_commit()
1235 cil_set_target_platform(cildb, sh->conf->target_platform); in semanage_direct_commit()
1236 cil_set_policy_version(cildb, sh->conf->policyvers); in semanage_direct_commit()
1239 cil_set_handle_unknown(cildb, sh->conf->handle_unknown); in semanage_direct_commit()
1242 retval = semanage_load_files(sh, cildb, mod_filenames, num_modinfos); in semanage_direct_commit()
1247 retval = cil_compile(cildb); in semanage_direct_commit()
1251 retval = cil_build_policydb(cildb, &out); in semanage_direct_commit()
1256 retval = cil_filecons_to_string(cildb, &fc_buffer, &fc_buffer_len); in semanage_direct_commit()
1281 retval = semanage_direct_update_seuser(sh, cildb); in semanage_direct_commit()
1286 retval = semanage_direct_update_user_extra(sh, cildb); in semanage_direct_commit()
1290 cil_db_destroy(&cildb); in semanage_direct_commit()
1444 cil_db_destroy(&cildb); in semanage_direct_commit()