Searched refs:p_user_val_to_name (Results 1 – 12 of 12) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | context.c | 99 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()
|
D | users.c | 20 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()
|
D | kernel_to_conf.c | 184 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()
|
D | kernel_to_cil.c | 187 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()
|
D | hierarchy.c | 569 (char *) k, a->p->p_user_val_to_name[up->s.value - 1]); in bounds_check_user_callback()
|
D | services.c | 250 policydb->p_user_val_to_name[i]); in get_name_list() 1632 p_user_val_to_name[c->user - in convert_context()
|
D | policydb_validate.c | 69 if (validate_init(&flavors[SYM_USERS], p->p_user_val_to_name, p->p_users.nprim)) in validate_array_init()
|
D | module_to_cil.c | 1792 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()
|
D | policydb.c | 1083 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/ |
D | dismod.c | 444 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/ |
D | policydb.h | 540 #define p_user_val_to_name sym_val_to_name[SYM_USERS] macro
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 4164 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()
|