Searched refs:ocon (Results 1 – 4 of 4) sorted by relevance
606 struct ocontext *ocon; in sort_ocontext_data() local611 for (ocon = *ocons; ocon != NULL; ocon = ocon->next) { in sort_ocontext_data()626 for (ocon = *ocons; ocon != NULL; ocon = ocon->next) { in sort_ocontext_data()627 data[i] = ocon; in sort_ocontext_data()
2909 int ocon; in ocontexts_to_cil() local2911 static int (**ocon_funcs)(struct policydb *pdb, struct ocontext *ocon); in ocontexts_to_cil()2912 static int (*ocon_selinux_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()2923 static int (*ocon_xen_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()2946 for (ocon = 0; ocon < OCON_NUM; ocon++) { in ocontexts_to_cil()2947 if (ocon_funcs[ocon] != NULL) { in ocontexts_to_cil()2948 rc = ocon_funcs[ocon](pdb, pdb->ocontexts[ocon]); in ocontexts_to_cil()2963 struct ocontext *ocon; in genfscon_to_cil() local2966 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in genfscon_to_cil()2967 cil_printf("(genfscon %s \"%s\" ", genfs->fstype, ocon->u.name); in genfscon_to_cil()[all …]
2640 struct ocontext *ocon; in write_genfscon_rules_to_cil() local2651 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_cil()2653 name = ocon->u.name; in write_genfscon_rules_to_cil()2655 ctx = context_to_str(pdb, &ocon->context[0]); in write_genfscon_rules_to_cil()
2513 struct ocontext *ocon; in write_genfscon_rules_to_conf() local2524 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_conf()2526 name = ocon->u.name; in write_genfscon_rules_to_conf()2528 ctx = context_to_str(pdb, &ocon->context[0]); in write_genfscon_rules_to_conf()