Lines Matching full:role
165 role_datum_t *role;
188 * with each role when printing role_type statements
281 role_datum_t *role = data;
290 role_node->role = role;
683 statement = "role";
991 ts = &role_node->role->types;
1346 uint32_t role;
1366 for (role = 0; role < num_role_names; role++) {
1372 cil_println(indent, "(roletransition %s %s %s %s)", role_names[role],
1920 log_err("Unknown default role value: %i", class->default_role);
2008 struct role_datum *role = datum;
2012 // if a role/roleattr is in the REQ scope, then it could cause an
2020 switch (role->flavor) {
2028 // to remove these duplicate role declarations, but we need to be
2054 cil_println(indent, "(role %s)", key);
2058 if (ebitmap_cardinality(&role->dominates) > 1) {
2059 log_err("Warning: role 'dominance' statement unsupported in CIL. Dropping from output.");
2062 ts = &role->types;
2074 if (role->bounds > 0) {
2075 cil_println(indent, "(rolebounds %s %s)", key, pdb->p_role_val_to_name[role->bounds - 1]);
2084 if (ebitmap_cardinality(&role->roles) > 0) {
2087 ebitmap_for_each_bit(&role->roles, node, i) {
2088 if (!ebitmap_get_bit(&role->roles, i)) {
2096 ts = &role->types;
2112 log_err("Unknown role type: %i", role->flavor);
2399 pdb->p_role_val_to_name[con->role - 1],
2923 char *role = NULL;
2927 matched = tokenize(contextstr, ':', 4, &user, &role, &type, &level);
2934 cil_printf("(%s %s %s (", user, role, type);
2950 free(role);
3764 cil_println(0, "(role
3774 cil_println(0, "(role auditadm_r)");
3775 cil_println(0, "(role secadm_r)");