Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dexpand.c1261 ebitmap_t roles, new_roles; in copy_role_allows() local
1270 ebitmap_init(&new_roles); in copy_role_allows()
1277 if (role_set_expand(&cur->new_roles, &new_roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1283 ebitmap_for_each_positive_bit(&new_roles, tnode, j) { in copy_role_allows()
1313 ebitmap_destroy(&new_roles); in copy_role_allows()
Dmodule_to_cil.c1485 char **new_roles = NULL; in role_allows_to_cil() local
1497 rs = &rule->new_roles; in role_allows_to_cil()
1498 rc = process_roleset(pdb, rs, attr_list, &new_roles, &num_new_roles); in role_allows_to_cil()
1505 cil_println(indent, "(roleallow %s %s)", roles[i], new_roles[j]); in role_allows_to_cil()
1510 names_destroy(&new_roles, &num_new_roles); in role_allows_to_cil()
1517 names_destroy(&new_roles, &num_new_roles); in role_allows_to_cil()
Dlink.c1430 || role_set_or_convert(&cur->new_roles, in copy_role_allow_list()
1431 &new_rule->new_roles, module, in copy_role_allow_list()
Dpolicydb_validate.c1118 if (validate_role_set(&role_allow->new_roles, &flavors[SYM_ROLES])) in validate_role_allow_rules()
Dpolicydb.c701 role_set_init(&x->new_roles); in role_allow_rule_init()
707 role_set_destroy(&x->new_roles); in role_allow_rule_destroy()
3830 if (role_set_read(&ra->new_roles, fp)) in role_allow_rule_read()
Dwrite.c1934 if (role_set_write(&ra->new_roles, fp)) in role_allow_rule_write()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h312 role_set_t new_roles; /* new roles */ member
/third_party/selinux/checkpolicy/test/
Ddismod.c503 display_mod_role_set(&ra->new_roles, p, fp); in display_role_allow()
/third_party/selinux/checkpolicy/
Dpolicy_define.c3284 if (set_roles(&ra->new_roles, id)) { in define_role_allow()