Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dpolicydb.c1651 scope_datum_t *scope_datum; in symtab_insert() local
1673 scope_datum = in symtab_insert()
1675 if (scope_datum == NULL) { in symtab_insert()
1679 if ((scope_datum = malloc(sizeof(*scope_datum))) == NULL) { in symtab_insert()
1683 scope_datum->scope = scope; in symtab_insert()
1684 scope_datum->decl_ids = NULL; in symtab_insert()
1685 scope_datum->decl_ids_len = 0; in symtab_insert()
1688 scope_datum)) != 0) { in symtab_insert()
1690 free(scope_datum); in symtab_insert()
1693 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) { in symtab_insert()
[all …]
Dpolicydb_validate.c134 scope_datum_t *scope_datum = (scope_datum_t *)d; in validate_scope() local
138 for (i = 0; i < scope_datum->decl_ids_len; i++) { in validate_scope()
139 if (!value_isvalid(scope_datum->decl_ids[i], *nprim)) in validate_scope()
Dmodule_to_cil.c334 struct scope_datum *scope; in typealiases_gather_map()
496 struct scope_datum *scope; in is_id_in_scope_with_start()
3398 struct scope_datum *scope; in declared_scopes_to_cil()
3465 struct scope_datum *scope_datum; in required_scopes_to_cil() local
3476 scope_datum = hashtab_search(pdb->scope[sym].table, key); in required_scopes_to_cil()
3477 if (scope_datum == NULL) { in required_scopes_to_cil()
3481 for (j = 0; j < scope_datum->decl_ids_len; j++) { in required_scopes_to_cil()
3482 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
3486 if (j >= scope_datum->decl_ids_len) { in required_scopes_to_cil()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h490 typedef struct scope_datum { struct