Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dcontext.c99 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1; in context_to_string()
119 policydb->p_user_val_to_name[context->user - 1], in context_to_string()
124 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1 + in context_to_string()
255 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()
243 policydb->p_user_val_to_name[policydb->p_users.nprim] = NULL; in sepol_user_modify()
257 policydb->p_user_val_to_name[usrdatum->s.value - 1] = name; in sepol_user_modify()
Dkernel_to_conf.c184 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str()
2342 if (!pdb->p_user_val_to_name[i]) continue; in write_user_decl_rules_to_conf()
2343 rc = strs_add(strs, pdb->p_user_val_to_name[i]); in write_user_decl_rules_to_conf()
2416 user = pdb->p_user_val_to_name[con->user - 1]; in context_to_str()
Dkernel_to_cil.c187 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str()
2412 if (!pdb->p_user_val_to_name[i]) continue; in write_user_decl_rules_to_cil()
2413 rc = strs_add(strs, pdb->p_user_val_to_name[i]); in write_user_decl_rules_to_cil()
2543 user = pdb->p_user_val_to_name[con->user - 1]; in context_to_str()
Dhierarchy.c569 (char *) k, a->p->p_user_val_to_name[up->s.value - 1]); in bounds_check_user_callback()
Dservices.c250 policydb->p_user_val_to_name[i]); in get_name_list()
1632 p_user_val_to_name[c->user - in convert_context()
Dpolicydb_validate.c69 if (validate_init(&flavors[SYM_USERS], p->p_user_val_to_name, p->p_users.nprim)) in validate_array_init()
Dmodule_to_cil.c1792 rc = ebitmap_to_names(&expr->names, pdb->p_user_val_to_name, &name_list, &num_names); in constraint_expr_to_string()
2513 pdb->p_user_val_to_name[con->user - 1], in context_to_cil()
Dpolicydb.c1083 if (p->p_user_val_to_name[usrdatum->s.value - 1] != NULL) in user_index()
1085 p->p_user_val_to_name[usrdatum->s.value - 1] = (char *)key; in user_index()
/third_party/selinux/checkpolicy/test/
Ddismod.c444 user = p->p_user_val_to_name[cur->context[0].user - 1]; in display_initial_sids()
453 user = p->p_user_val_to_name[cur->context[0].user - 1]; in display_initial_sids()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h540 #define p_user_val_to_name sym_val_to_name[SYM_USERS] macro
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c4164 pdb->p_user_val_to_name[user->s.value - 1] = (char *)key; in __cil_user_val_array_insert()
4241 policydb->p_user_val_to_name = cil_malloc(sizeof(char *) * policydb->p_users.nprim); in __cil_policydb_val_arrays_create()