Home
last modified time | relevance | path

Searched refs:role_names (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/tests/
Dtest-expander-users.c31 static void check_user_roles(policydb_t * p, const char *user_name, const char **role_names, int nu… in check_user_roles() argument
52 if (strcmp(role_names[j], p->p_role_val_to_name[i]) == 0) { in check_user_roles()
62 printf("role %s associated with user %s %d times\n", role_names[j], user_name, found[j]); in check_user_roles()
/external/selinux/libsepol/src/
Dmodule_to_cil.c1414 char **role_names = NULL; in role_trans_to_cil() local
1427 rc = process_roleset(pdb, rs, role_attr_list, &role_names, &num_role_names); in role_trans_to_cil()
1445 role_names[role], type_names[type], in role_trans_to_cil()
1452 names_destroy(&role_names, &num_role_names); in role_trans_to_cil()
1457 names_destroy(&role_names, &num_role_names); in role_trans_to_cil()