Lines Matching defs:role
179 role_datum_t *role;
199 * with each role when printing role_type statements
293 role_datum_t *role = data;
302 role_node->role = role;
839 kind = "role";
1107 ts = &role_node->role->types;
1435 unsigned int role;
1457 for (role = 0; role < num_role_names; role++) {
1461 role_names[role], type_names[type],
2027 log_err("Unknown default role value: %i", class->default_role);
2114 struct role_datum *role = datum;
2124 // if a role/roleattr is in the REQ scope, then it could cause an
2132 switch (role->flavor) {
2140 // to remove these duplicate role declarations, but we need to be
2166 cil_println(indent, "(role %s)", key);
2170 if (ebitmap_cardinality(&role->dominates) > 1) {
2171 log_err("Warning: role 'dominance' statement unsupported in CIL. Dropping from output.");
2174 ts = &role->types;
2186 if (role->bounds > 0) {
2187 cil_println(indent, "(rolebounds %s %s)", key, pdb->p_role_val_to_name[role->bounds - 1]);
2196 if (!ebitmap_is_empty(&role->roles)) {
2199 ebitmap_for_each_positive_bit(&role->roles, node, i) {
2205 ts = &role->types;
2221 log_err("Unknown role type: %i", role->flavor);
2514 pdb->p_role_val_to_name[con->role - 1],
3084 char *role = NULL;
3088 matched = tokenize(contextstr, ':', 4, &user, &role, &type, &level);
3095 cil_printf("(%s %s %s (", user, role, type);
3111 free(role);
3947 cil_println(0, "(role " DEFAULT_OBJECT ")");
3957 cil_println(0, "(role auditadm_r)");
3958 cil_println(0, "(role secadm_r)");