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()
234 tmp_ptr = realloc(policydb->user_val_to_struct, in sepol_user_modify()
239 policydb->user_val_to_struct = tmp_ptr; in sepol_user_modify()
240 policydb->user_val_to_struct[policydb->p_users.nprim] = NULL; in sepol_user_modify()
263 policydb->user_val_to_struct[usrdatum->s.value - 1] = usrdatum; in sepol_user_modify()
Dpolicydb.c1048 p->user_val_to_struct[usrdatum->s.value - 1] = usrdatum; in user_index()
1218 free(p->user_val_to_struct); in policydb_index_others()
1219 p->user_val_to_struct = (user_datum_t **) in policydb_index_others()
1221 if (!p->user_val_to_struct) in policydb_index_others()
1479 if (p->user_val_to_struct) in policydb_destroy()
1480 free(p->user_val_to_struct); in policydb_destroy()
4281 if (p->user_val_to_struct) in policydb_reindex_users()
4282 free(p->user_val_to_struct); in policydb_reindex_users()
4286 p->user_val_to_struct = (user_datum_t **) in policydb_reindex_users()
4288 if (!p->user_val_to_struct) in policydb_reindex_users()
Dcontext.c66 usrdatum = p->user_val_to_struct[c->user - 1]; in context_is_valid()
Dmls.c314 usrdatum = p->user_val_to_struct[c->user - 1]; in mls_context_isvalid()
Dhierarchy.c569 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.h545 user_datum_t **user_val_to_struct; member
/external/selinux/checkpolicy/test/
Ddismod.c373 bitmap = &(p->user_val_to_struct[i]->roles.roles); in display_users()
/external/selinux/libsepol/cil/src/
Dcil_binary.c4031 pdb->user_val_to_struct[user->s.value - 1] = user; in __cil_user_val_array_insert()
4108 policydb->user_val_to_struct = cil_malloc(sizeof(user_datum_t *) * policydb->p_users.nprim); in __cil_policydb_val_arrays_create()