Lines Matching defs:role
150 struct cil_role *role = node->data;
151 if (strcmp(role->datum.fqn, "object_r") != 0) {
275 fprintf(out, "%s:", DATUM(context->role)->fqn);
1483 struct cil_role *role;
1486 role = i1->data;
1487 if (strcmp(role->datum.fqn,"object_r") == 0)
1489 fprintf(out, "role %s;\n", role->datum.fqn);
1496 struct cil_role *role;
1501 role = i1->data;
1502 if (strcmp(role->datum.fqn,"object_r") == 0)
1504 if (role->types) {
1507 if (ebitmap_get_bit(role->types, type->value)) {
1509 fprintf(out, "role %s types { %s", role->datum.fqn, type->datum.fqn);
1528 struct cil_role *role;
1533 role = i1->data;
1534 if (strcmp(role->datum.fqn,"object_r") == 0)
1538 if (ebitmap_get_bit(attribute->roles, role->value)) {
1540 fprintf(out, "roleattribute %s %s", role->datum.fqn, attribute->datum.fqn);
1587 struct cil_role *role;
1595 role = i2->data;
1596 if (ebitmap_get_bit(user->roles, role->value)) {
1600 cil_list_append(roles, CIL_ROLE, role);
1610 role = i2->data;
1611 fprintf(out, " %s", role->datum.fqn);