Home
last modified time | relevance | path

Searched refs:ocon (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/src/
Dkernel_to_common.c608 struct ocontext *ocon; in sort_ocontext_data() local
613 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()
Dmodule_to_cil.c2899 int ocon; in ocontexts_to_cil() local
2901 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() local
2956 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 …]
Dkernel_to_cil.c2598 struct ocontext *ocon; in write_genfscon_rules_to_cil() local
2609 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()
Dkernel_to_conf.c2470 struct ocontext *ocon; in write_genfscon_rules_to_conf() local
2481 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()