Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dusers.c21 user_datum_t *usrdatum = policydb->user_val_to_struct[user_idx]; in user_to_record()
231 tmp_ptr = realloc(policydb->user_val_to_struct, in sepol_user_modify()
236 policydb->user_val_to_struct = tmp_ptr; in sepol_user_modify()
258 policydb->user_val_to_struct[usrdatum->s.value - 1] = usrdatum; in sepol_user_modify()
Dpolicydb.c917 p->user_val_to_struct[usrdatum->s.value - 1] = usrdatum; in user_index()
1075 free(p->user_val_to_struct); in policydb_index_others()
1076 p->user_val_to_struct = (user_datum_t **) in policydb_index_others()
1078 if (!p->user_val_to_struct) in policydb_index_others()
1315 if (p->user_val_to_struct) in policydb_destroy()
1316 free(p->user_val_to_struct); in policydb_destroy()
3955 if (p->user_val_to_struct) in policydb_reindex_users()
3956 free(p->user_val_to_struct); in policydb_reindex_users()
3960 p->user_val_to_struct = (user_datum_t **) in policydb_reindex_users()
3962 if (!p->user_val_to_struct) in policydb_reindex_users()
Dcontext.c65 usrdatum = p->user_val_to_struct[c->user - 1]; in context_is_valid()
Dmls.c312 usrdatum = p->user_val_to_struct[c->user - 1]; in mls_context_isvalid()
Dhierarchy.c605 up = a->p->user_val_to_struct[u->bounds - 1]; in bounds_check_user_callback()
/external/selinux/libsepol/tests/
Dtest-common.c106 CU_ASSERT(p->user_val_to_struct[d->s.value - 1] == d); in user_test_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h527 user_datum_t **user_val_to_struct; member
/external/selinux/checkpolicy/test/
Ddismod.c348 bitmap = &(p->user_val_to_struct[i]->roles.roles); in display_users()
/external/selinux/libsepol/cil/src/
Dcil_binary.c3743 pdb->user_val_to_struct[user->s.value - 1] = user; in __cil_user_val_array_insert()
3820 policydb->user_val_to_struct = cil_malloc(sizeof(user_datum_t *) * policydb->p_users.nprim); in __cil_policydb_val_arrays_create()