Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dlink.c353 role_datum_t *role, *base_role, *new_role = NULL; in role_copy_callback() local
358 base_role = hashtab_search(state->base->p_roles.table, id); in role_copy_callback()
359 if (base_role != NULL) { in role_copy_callback()
365 && base_role->flavor != ROLE_ATTRIB) { in role_copy_callback()
371 && base_role->flavor == ROLE_ATTRIB) { in role_copy_callback()
403 base_role = new_role; in role_copy_callback()
412 new_role->flavor = base_role->flavor; in role_copy_callback()
413 new_role->s.value = base_role->s.value; in role_copy_callback()
424 state->cur->map[SYM_ROLES][role->s.value - 1] = base_role->s.value; in role_copy_callback()
2406 role_datum_t *decl_role, *base_role; in populate_decl_roleattributes() local
[all …]
Dpolicydb.c1715 role_datum_t *base_role; in symtab_insert() local
1718 base_role = (role_datum_t *) in symtab_insert()
1721 assert(base_role != NULL); in symtab_insert()
1723 if (!((base_role->flavor == ROLE_ROLE) && in symtab_insert()