Searched refs:ocon (Results 1 – 4 of 4) sorted by relevance
608 struct ocontext *ocon; in sort_ocontext_data() local613 for (ocon = *ocons; ocon != NULL; ocon = ocon->next) { in sort_ocontext_data()628 for (ocon = *ocons; ocon != NULL; ocon = ocon->next) { in sort_ocontext_data()629 data[i] = ocon; in sort_ocontext_data()
2899 int ocon; in ocontexts_to_cil() local2901 static int (**ocon_funcs)(struct policydb *pdb, struct ocontext *ocon); in ocontexts_to_cil()2902 static int (*ocon_selinux_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()2913 static int (*ocon_xen_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()2936 for (ocon = 0; ocon < OCON_NUM; ocon++) { in ocontexts_to_cil()2937 if (ocon_funcs[ocon] != NULL) { in ocontexts_to_cil()2938 rc = ocon_funcs[ocon](pdb, pdb->ocontexts[ocon]); in ocontexts_to_cil()2953 struct ocontext *ocon; in genfscon_to_cil() local2956 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in genfscon_to_cil()2957 cil_printf("(genfscon %s %s ", genfs->fstype, ocon->u.name); in genfscon_to_cil()[all …]
2598 struct ocontext *ocon; in write_genfscon_rules_to_cil() local2609 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_cil()2611 name = ocon->u.name; in write_genfscon_rules_to_cil()2613 ctx = context_to_str(pdb, &ocon->context[0]); in write_genfscon_rules_to_cil()
2470 struct ocontext *ocon; in write_genfscon_rules_to_conf() local2481 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_conf()2483 name = ocon->u.name; in write_genfscon_rules_to_conf()2485 ctx = context_to_str(pdb, &ocon->context[0]); in write_genfscon_rules_to_conf()