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, char *user_name, char **role_names, int num_roles) 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.c1341 char **role_names = NULL; in role_trans_to_cil() local
1355 rc = process_roleset(indent, pdb, rs, NULL, &role_names, &num_role_names); in role_trans_to_cil()
1372 cil_println(indent, "(roletransition %s %s %s %s)", role_names[role], in role_trans_to_cil()
1380 names_destroy(&role_names, &num_role_names); in role_trans_to_cil()
1387 names_destroy(&role_names, &num_role_names); in role_trans_to_cil()