Home
last modified time | relevance | path

Searched refs:genfs (Results 1 – 11 of 11) sorted by relevance

/third_party/selinux/libsepol/src/
Dwrite.c1603 genfs_t *genfs; in genfs_write() local
1608 for (genfs = p->genfs; genfs; genfs = genfs->next) in genfs_write()
1614 for (genfs = p->genfs; genfs; genfs = genfs->next) { in genfs_write()
1615 len = strlen(genfs->fstype); in genfs_write()
1620 items = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
1624 for (c = genfs->head; c; c = c->next) in genfs_write()
1630 for (c = genfs->head; c; c = c->next) { in genfs_write()
Dservices.c2239 genfs_t *genfs; in sepol_genfs_sid() local
2243 for (genfs = policydb->genfs; genfs; genfs = genfs->next) { in sepol_genfs_sid()
2244 cmp = strcmp(fstype, genfs->fstype); in sepol_genfs_sid()
2249 if (!genfs || cmp) { in sepol_genfs_sid()
2255 for (c = genfs->head; c; c = c->next) { in sepol_genfs_sid()
Dkernel_to_cil.c2639 struct genfs *genfs; in write_genfscon_rules_to_cil() local
2650 for (genfs = pdb->genfs; genfs != NULL; genfs = genfs->next) { in write_genfscon_rules_to_cil()
2651 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_cil()
2652 fstype = genfs->fstype; in write_genfscon_rules_to_cil()
Dkernel_to_conf.c2512 struct genfs *genfs; in write_genfscon_rules_to_conf() local
2523 for (genfs = pdb->genfs; genfs != NULL; genfs = genfs->next) { in write_genfscon_rules_to_conf()
2524 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_conf()
2525 fstype = genfs->fstype; in write_genfscon_rules_to_conf()
Dpolicydb.c1521 g = p->genfs; in policydb_destroy()
3160 genfs_t *genfs_p, *newgenfs, *genfs; in genfs_read() local
3192 for (genfs_p = NULL, genfs = p->genfs; genfs; in genfs_read()
3193 genfs_p = genfs, genfs = genfs->next) { in genfs_read()
3194 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
3201 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
3204 newgenfs->next = genfs; in genfs_read()
3208 p->genfs = newgenfs; in genfs_read()
Dmodule_to_cil.c2962 struct genfs *genfs; in genfscon_to_cil() local
2965 for (genfs = pdb->genfs; genfs != NULL; genfs = genfs->next) { in genfscon_to_cil()
2966 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()
Dexpand.c2271 genfs_t *genfs, *newgenfs, *end; in genfs_copy() local
2274 for (genfs = state->base->genfs; genfs; genfs = genfs->next) { in genfs_copy()
2281 newgenfs->fstype = strdup(genfs->fstype); in genfs_copy()
2288 state->out->genfs = newgenfs; in genfs_copy()
2294 for (c = genfs->head; c; c = c->next) { in genfs_copy()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h385 typedef struct genfs { struct
388 struct genfs *next; argument
588 genfs_t *genfs; member
/third_party/selinux/checkpolicy/
Dpolicy_define.c5470 struct genfs *genfs_p, *genfs, *newgenfs; in define_genfs_context_helper() local
5491 for (genfs_p = NULL, genfs = policydbp->genfs; in define_genfs_context_helper()
5492 genfs; genfs_p = genfs, genfs = genfs->next) { in define_genfs_context_helper()
5493 if (strcmp(fstype, genfs->fstype) <= 0) in define_genfs_context_helper()
5497 if (!genfs || strcmp(fstype, genfs->fstype)) { in define_genfs_context_helper()
5498 newgenfs = malloc(sizeof(struct genfs)); in define_genfs_context_helper()
5503 memset(newgenfs, 0, sizeof(struct genfs)); in define_genfs_context_helper()
5505 newgenfs->next = genfs; in define_genfs_context_helper()
5509 policydbp->genfs = newgenfs; in define_genfs_context_helper()
5510 genfs = newgenfs; in define_genfs_context_helper()
[all …]
/third_party/selinux/libsepol/cil/src/
Dcil_verify.c1185 struct cil_genfscon *genfs = node->data; in __cil_verify_genfscon() local
1186 struct cil_context *ctx = genfs->context; in __cil_verify_genfscon()
Dcil_binary.c3456 pdb->genfs = new_genfs; in cil_genfscon_to_policydb()