Home
last modified time | relevance | path

Searched refs:new_roles (Results 1 – 8 of 8) sorted by relevance

/external/selinux/libsepol/src/
Dexpand.c1224 ebitmap_t roles, new_roles; in copy_role_allows() local
1233 ebitmap_init(&new_roles); in copy_role_allows()
1240 if (role_set_expand(&cur->new_roles, &new_roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1248 ebitmap_for_each_bit(&new_roles, tnode, j) { in copy_role_allows()
1280 ebitmap_destroy(&new_roles); in copy_role_allows()
Dmodule_to_cil.c1399 char **new_roles = NULL; in role_allows_to_cil() local
1412 rs = &rule->new_roles; in role_allows_to_cil()
1413 rc = process_roleset(indent, pdb, rs, NULL, &new_roles, &num_new_roles); in role_allows_to_cil()
1420 cil_println(indent, "(roleallow %s %s)", roles[i], new_roles[j]); in role_allows_to_cil()
1425 names_destroy(&new_roles, &num_new_roles); in role_allows_to_cil()
1432 names_destroy(&new_roles, &num_new_roles); in role_allows_to_cil()
Dpolicydb.c620 role_set_init(&x->new_roles); in role_allow_rule_init()
626 role_set_destroy(&x->new_roles); in role_allow_rule_destroy()
3306 if (role_set_read(&ra->new_roles, fp)) in role_allow_rule_read()
Dlink.c1433 || role_set_or_convert(&cur->new_roles, in copy_role_allow_list()
1434 &new_rule->new_roles, module, in copy_role_allow_list()
Dwrite.c1695 if (role_set_write(&ra->new_roles, fp)) in role_allow_rule_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h302 role_set_t new_roles; /* new roles */ member
/external/selinux/checkpolicy/test/
Ddismod.c479 display_mod_role_set(&ra->new_roles, p, fp); in display_role_allow()
/external/selinux/checkpolicy/
Dpolicy_define.c3184 if (set_roles(&ra->new_roles, id)) { in define_role_allow()