Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dcontext.c57 role = p->role_val_to_struct[c->role - 1]; in context_is_valid()
Dpolicydb.c882 p->role_val_to_struct[role->s.value - 1] = role; in role_index()
1069 free(p->role_val_to_struct); in policydb_index_others()
1070 p->role_val_to_struct = (role_datum_t **) in policydb_index_others()
1072 if (!p->role_val_to_struct) in policydb_index_others()
1313 if (p->role_val_to_struct) in policydb_destroy()
1314 free(p->role_val_to_struct); in policydb_destroy()
Dservices.c510 r1 = policydb->role_val_to_struct[val1 - 1]; in constraint_expr_eval_reason()
511 r2 = policydb->role_val_to_struct[val2 - 1]; in constraint_expr_eval_reason()
2026 role = policydb->role_val_to_struct[i]; in sepol_get_user_sids()
Dhierarchy.c562 rp = a->p->role_val_to_struct[r->bounds - 1]; in bounds_check_role_callback()
Dlink.c2435 sub_attr = state->base->role_val_to_struct[i]; in expand_role_attributes()
Dexpand.c2438 role = base->role_val_to_struct[i]; in role_set_expand()
/external/selinux/libsepol/tests/
Dtest-common.c82 CU_ASSERT(p->role_val_to_struct[d->s.value - 1] == d); in role_test_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h526 role_datum_t **role_val_to_struct; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c3715 pdb->role_val_to_struct[role->s.value - 1] = role; in __cil_role_val_array_insert()
3806 policydb->role_val_to_struct = cil_malloc(sizeof(role_datum_t *) * policydb->p_roles.nprim); in __cil_policydb_val_arrays_create()