Searched refs:genfs (Results 1 – 11 of 11) sorted by relevance
/external/selinux/libsepol/src/ |
D | write.c | 1513 genfs_t *genfs; in genfs_write() local 1518 for (genfs = p->genfs; genfs; genfs = genfs->next) in genfs_write() 1524 for (genfs = p->genfs; genfs; genfs = genfs->next) { in genfs_write() 1525 len = strlen(genfs->fstype); in genfs_write() 1530 items = put_entry(genfs->fstype, 1, len, fp); in genfs_write() 1534 for (c = genfs->head; c; c = c->next) in genfs_write() 1540 for (c = genfs->head; c; c = c->next) { in genfs_write()
|
D | services.c | 2267 genfs_t *genfs; in sepol_genfs_sid() local 2271 for (genfs = policydb->genfs; genfs; genfs = genfs->next) { in sepol_genfs_sid() 2272 cmp = strcmp(fstype, genfs->fstype); in sepol_genfs_sid() 2277 if (!genfs || cmp) { in sepol_genfs_sid() 2283 for (c = genfs->head; c; c = c->next) { in sepol_genfs_sid()
|
D | kernel_to_cil.c | 2599 struct genfs *genfs; in write_genfscon_rules_to_cil() local 2610 for (genfs = pdb->genfs; genfs != NULL; genfs = genfs->next) { in write_genfscon_rules_to_cil() 2611 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_cil() 2612 fstype = genfs->fstype; in write_genfscon_rules_to_cil()
|
D | kernel_to_conf.c | 2459 struct genfs *genfs; in write_genfscon_rules_to_conf() local 2470 for (genfs = pdb->genfs; genfs != NULL; genfs = genfs->next) { in write_genfscon_rules_to_conf() 2471 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in write_genfscon_rules_to_conf() 2472 fstype = genfs->fstype; in write_genfscon_rules_to_conf()
|
D | policydb.c | 1500 g = p->genfs; in policydb_destroy() 2972 genfs_t *genfs_p, *newgenfs, *genfs; in genfs_read() local 3004 for (genfs_p = NULL, genfs = p->genfs; genfs; in genfs_read() 3005 genfs_p = genfs, genfs = genfs->next) { in genfs_read() 3006 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read() 3013 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read() 3016 newgenfs->next = genfs; in genfs_read() 3020 p->genfs = newgenfs; in genfs_read()
|
D | expand.c | 2298 genfs_t *genfs, *newgenfs, *end; in genfs_copy() local 2301 for (genfs = state->base->genfs; genfs; genfs = genfs->next) { in genfs_copy() 2308 newgenfs->fstype = strdup(genfs->fstype); in genfs_copy() 2315 state->out->genfs = newgenfs; in genfs_copy() 2321 for (c = genfs->head; c; c = c->next) { in genfs_copy()
|
D | module_to_cil.c | 2988 struct genfs *genfs; in genfscon_to_cil() local 2991 for (genfs = pdb->genfs; genfs != NULL; genfs = genfs->next) { in genfscon_to_cil() 2992 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in genfscon_to_cil() 2993 cil_printf("(genfscon %s %s ", genfs->fstype, ocon->u.name); in genfscon_to_cil()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 383 typedef struct genfs { struct 386 struct genfs *next; argument 586 genfs_t *genfs; member
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 5545 struct genfs *genfs_p, *genfs, *newgenfs; in define_genfs_context_helper() local 5564 for (genfs_p = NULL, genfs = policydbp->genfs; in define_genfs_context_helper() 5565 genfs; genfs_p = genfs, genfs = genfs->next) { in define_genfs_context_helper() 5566 if (strcmp(fstype, genfs->fstype) <= 0) in define_genfs_context_helper() 5570 if (!genfs || strcmp(fstype, genfs->fstype)) { in define_genfs_context_helper() 5571 newgenfs = malloc(sizeof(struct genfs)); in define_genfs_context_helper() 5576 memset(newgenfs, 0, sizeof(struct genfs)); in define_genfs_context_helper() 5578 newgenfs->next = genfs; in define_genfs_context_helper() 5582 policydbp->genfs = newgenfs; in define_genfs_context_helper() 5583 genfs = newgenfs; in define_genfs_context_helper() [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_verify.c | 1038 struct cil_genfscon *genfs = node->data; in __cil_verify_genfscon() local 1039 struct cil_context *ctx = genfs->context; in __cil_verify_genfscon()
|
D | cil_binary.c | 3452 pdb->genfs = new_genfs; in cil_genfscon_to_policydb()
|