Home
last modified time | relevance | path

Searched refs:base_role (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dlink.c351 role_datum_t *role, *base_role, *new_role = NULL; in role_copy_callback() local
356 base_role = hashtab_search(state->base->p_roles.table, id); in role_copy_callback()
357 if (base_role != NULL) { in role_copy_callback()
363 && base_role->flavor != ROLE_ATTRIB) { in role_copy_callback()
369 && base_role->flavor == ROLE_ATTRIB) { in role_copy_callback()
401 base_role = new_role; in role_copy_callback()
410 new_role->flavor = base_role->flavor; in role_copy_callback()
411 new_role->s.value = base_role->s.value; in role_copy_callback()
422 state->cur->map[SYM_ROLES][role->s.value - 1] = base_role->s.value; in role_copy_callback()
2472 role_datum_t *decl_role, *base_role; in populate_decl_roleattributes() local
[all …]
Dpolicydb.c1545 role_datum_t *base_role; in symtab_insert() local
1548 base_role = (role_datum_t *) in symtab_insert()
1551 assert(base_role != NULL); in symtab_insert()
1553 if (!((base_role->flavor == ROLE_ROLE) && in symtab_insert()