Home
last modified time | relevance | path

Searched refs:p_user_val_to_name (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/src/
Dcontext.c100 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1; in context_to_string()
120 policydb->p_user_val_to_name[context->user - 1], in context_to_string()
125 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1 + in context_to_string()
256 policydb->p_user_val_to_name[context->user - in context_to_record()
Dusers.c20 const char *name = policydb->p_user_val_to_name[user_idx]; in user_to_record()
248 policydb->p_user_val_to_name[policydb->p_users.nprim] = NULL; in sepol_user_modify()
262 policydb->p_user_val_to_name[usrdatum->s.value - 1] = name; in sepol_user_modify()
Dhierarchy.c573 (char *) k, a->p->p_user_val_to_name[up->s.value - 1]); in bounds_check_user_callback()
Dkernel_to_conf.c182 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str()
2269 rc = strs_add(strs, pdb->p_user_val_to_name[i]); in write_user_decl_rules_to_conf()
2341 user = pdb->p_user_val_to_name[con->user - 1]; in context_to_str()
Dkernel_to_cil.c185 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str()
2347 rc = strs_add(strs, pdb->p_user_val_to_name[i]); in write_user_decl_rules_to_cil()
2476 user = pdb->p_user_val_to_name[con->user - 1]; in context_to_str()
Dservices.c253 policydb->p_user_val_to_name[i]); in get_name_list()
1649 p_user_val_to_name[c->user - in convert_context()
Dmodule_to_cil.c1805 rc = ebitmap_to_names(&expr->names, pdb->p_user_val_to_name, &name_list, &num_names); in constraint_expr_to_string()
2531 pdb->p_user_val_to_name[con->user - 1], in context_to_cil()
Dpolicydb.c1045 if (p->p_user_val_to_name[usrdatum->s.value - 1] != NULL) in user_index()
1047 p->p_user_val_to_name[usrdatum->s.value - 1] = (char *)key; in user_index()
/external/selinux/checkpolicy/test/
Ddismod.c445 user = p->p_user_val_to_name[cur->context[0].user - 1]; in display_initial_sids()
454 user = p->p_user_val_to_name[cur->context[0].user - 1]; in display_initial_sids()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h537 #define p_user_val_to_name sym_val_to_name[SYM_USERS] macro
/external/selinux/libsepol/cil/src/
Dcil_binary.c4030 pdb->p_user_val_to_name[user->s.value - 1] = (char *)key; in __cil_user_val_array_insert()
4107 policydb->p_user_val_to_name = cil_malloc(sizeof(char *) * policydb->p_users.nprim); in __cil_policydb_val_arrays_create()