Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dwrite.c1451 genfs_t *genfs; in genfs_write() local
1456 for (genfs = p->genfs; genfs; genfs = genfs->next) in genfs_write()
1462 for (genfs = p->genfs; genfs; genfs = genfs->next) { in genfs_write()
1463 len = strlen(genfs->fstype); in genfs_write()
1468 items = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
1472 for (c = genfs->head; c; c = c->next) in genfs_write()
1478 for (c = genfs->head; c; c = c->next) { in genfs_write()
Dservices.c2093 genfs_t *genfs; in sepol_genfs_sid() local
2097 for (genfs = policydb->genfs; genfs; genfs = genfs->next) { in sepol_genfs_sid()
2098 cmp = strcmp(fstype, genfs->fstype); in sepol_genfs_sid()
2103 if (!genfs || cmp) { in sepol_genfs_sid()
2109 for (c = genfs->head; c; c = c->next) { in sepol_genfs_sid()
Dpolicydb.c1336 g = p->genfs; in policydb_destroy()
2725 genfs_t *genfs_p, *newgenfs, *genfs; in genfs_read() local
2755 for (genfs_p = NULL, genfs = p->genfs; genfs; in genfs_read()
2756 genfs_p = genfs, genfs = genfs->next) { in genfs_read()
2757 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
2764 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
2767 newgenfs->next = genfs; in genfs_read()
2771 p->genfs = newgenfs; in genfs_read()
Dexpand.c2261 genfs_t *genfs, *newgenfs, *end; in genfs_copy() local
2264 for (genfs = state->base->genfs; genfs; genfs = genfs->next) { in genfs_copy()
2271 newgenfs->fstype = strdup(genfs->fstype); in genfs_copy()
2278 state->out->genfs = newgenfs; in genfs_copy()
2284 for (c = genfs->head; c; c = c->next) { in genfs_copy()
Dmodule_to_cil.c2838 struct genfs *genfs; in genfscon_to_cil() local
2841 for (genfs = pdb->genfs; genfs != NULL; genfs = genfs->next) { in genfscon_to_cil()
2842 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in genfscon_to_cil()
2843 cil_printf("(genfscon %s %s ", genfs->fstype, ocon->u.name); in genfscon_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h366 typedef struct genfs { struct
369 struct genfs *next; argument
571 genfs_t *genfs; member
/external/selinux/checkpolicy/
Dpolicy_define.c5226 struct genfs *genfs_p, *genfs, *newgenfs; in define_genfs_context_helper() local
5245 for (genfs_p = NULL, genfs = policydbp->genfs; in define_genfs_context_helper()
5246 genfs; genfs_p = genfs, genfs = genfs->next) { in define_genfs_context_helper()
5247 if (strcmp(fstype, genfs->fstype) <= 0) in define_genfs_context_helper()
5251 if (!genfs || strcmp(fstype, genfs->fstype)) { in define_genfs_context_helper()
5252 newgenfs = malloc(sizeof(struct genfs)); in define_genfs_context_helper()
5257 memset(newgenfs, 0, sizeof(struct genfs)); in define_genfs_context_helper()
5259 newgenfs->next = genfs; in define_genfs_context_helper()
5263 policydbp->genfs = newgenfs; in define_genfs_context_helper()
5264 genfs = newgenfs; in define_genfs_context_helper()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_verify.c1017 struct cil_genfscon *genfs = node->data; in __cil_verify_genfscon() local
1018 struct cil_context *ctx = genfs->context; in __cil_verify_genfscon()
Dcil_binary.c3174 pdb->genfs = new_genfs; in cil_genfscon_to_policydb()