Lines Matching refs:base_role
353 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
2419 base_role = (role_datum_t *)hashtab_search(state->base->p_roles.table, in populate_decl_roleattributes()
2421 assert(base_role != NULL && base_role->flavor == ROLE_ATTRIB); in populate_decl_roleattributes()
2423 if (ebitmap_union(&base_role->roles, &decl_role->roles)) { in populate_decl_roleattributes()