• Home
  • Raw
  • Download

Lines Matching refs:fqn

127 		if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) {  in __cil_gather_statements_helper()
134 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper()
150 if (strcmp(role->datum.fqn, "object_r") != 0) { in __cil_gather_statements_helper()
191 fprintf(out, "%s %s;\n", kind, DATUM(i1->data)->fqn); in cil_simple_rules_to_policy()
209 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
216 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
223 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy()
229 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
236 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy()
243 fprintf(out, "%s", DATUM(level->sens)->fqn); in cil_level_to_policy()
273 fprintf(out, "%s:", DATUM(context->user)->fqn); in cil_context_to_policy()
274 fprintf(out, "%s:", DATUM(context->role)->fqn); in cil_context_to_policy()
275 fprintf(out, "%s", DATUM(context->type)->fqn); in cil_context_to_policy()
328 fprintf(out, "%s", DATUM(i1->data)->fqn); in cil_cond_expr_to_policy()
348 len += strlen(DATUM(db->val_to_user[i])->fqn); in __cil_userattribute_len()
369 len = strlen(DATUM(operand->data)->fqn); in __cil_cons_leaf_operand_len()
378 len += strlen(DATUM(operand->data)->fqn); in __cil_cons_leaf_operand_len()
460 str = DATUM(db->val_to_user[i])->fqn; in __cil_userattribute_to_string()
533 o_str = DATUM(operand->data)->fqn; in __cil_cons_leaf_operand_to_string()
545 o_str = DATUM(operand->data)->fqn; in __cil_cons_leaf_operand_to_string()
659 len += strlen(DATUM(classperms->class)->fqn) + 1; in cil_classperms_to_string()
661 len += strlen(DATUM(i1->data)->fqn) + 1; in cil_classperms_to_string()
670 len = strlen(DATUM(classperms->class)->fqn); in cil_classperms_to_string()
671 memcpy(curr, DATUM(classperms->class)->fqn, len); in cil_classperms_to_string()
678 len = strlen(DATUM(i1->data)->fqn); in cil_classperms_to_string()
679 memcpy(curr, DATUM(i1->data)->fqn, len); in cil_classperms_to_string()
717 fprintf(out, "class %s\n", DATUM(i1->data)->fqn); in cil_class_decls_to_policy()
726 fprintf(out, "sid %s\n", DATUM(i1->data)->fqn); in cil_sid_decls_to_policy()
742 fprintf(out, "common %s {", common->datum.fqn); in cil_commons_to_policy()
744 fprintf(out, "%s ", DATUM(perm->data)->fqn); in cil_commons_to_policy()
761 fprintf(out, "class %s", class->datum.fqn); in cil_classes_to_policy()
763 fprintf(out, " inherits %s", class->common->datum.fqn); in cil_classes_to_policy()
769 fprintf(out, " %s", DATUM(perm->data)->fqn); in cil_classes_to_policy()
790 fprintf(out, " %s", DATUM(i3->data)->fqn); in cil_defaults_to_policy()
816 fprintf(out, " %s", DATUM(i3->data)->fqn); in cil_default_ranges_to_policy()
871 fprintf(out, "sensitivity %s", sens->datum.fqn); in cil_sensitivities_to_policy()
879 fprintf(out, " %s", alias->datum.fqn); in cil_sensitivities_to_policy()
898 fprintf(out, " %s", sens->datum.fqn); in cil_dominance_to_policy()
926 fprintf(out, "category %s",cat->datum.fqn); in cil_categories_to_policy()
934 fprintf(out, " %s", alias->datum.fqn); in cil_categories_to_policy()
954 fprintf(out, "level %s:",sens->datum.fqn); in cil_levels_to_policy()
959 fprintf(out, "level %s;\n",sens->datum.fqn); in cil_levels_to_policy()
1001 fprintf(out, "%s %s %s;\n", kind, class->datum.fqn, expr_str); in cil_validatetrans_to_policy()
1017 fprintf(out, "bool %s %s;\n", bool->datum.fqn, value); in cil_bools_to_policy()
1045 fprintf(out, "typealias %s alias", type->datum.fqn); in cil_typealiases_to_policy()
1051 fprintf(out, " %s", alias->datum.fqn); in cil_typealiases_to_policy()
1072 fprintf(out, "typebounds %s %s\n", parent->datum.fqn, child->datum.fqn); in cil_typebounds_to_policy()
1092 fprintf(out, "typeattribute %s %s", type->datum.fqn, attribute->datum.fqn); in cil_typeattributes_to_policy()
1095 fprintf(out, ", %s", attribute->datum.fqn); in cil_typeattributes_to_policy()
1119 fprintf(out, "%s %s {", DATUM(permx->obj)->fqn, kind); in cil_xperms_to_policy()
1183 fprintf(out, "%s %s %s : ", kind, src->fqn, tgt->fqn); in cil_av_rulex_to_policy()
1220 fprintf(out, "%s %s %s : %s;\n", kind, src->fqn, tgt->fqn, cp_str); in cil_av_rule_to_policy()
1254 fprintf(out, "%s %s %s : %s %s;\n", kind, src->fqn, tgt->fqn, DATUM(i1->data)->fqn, res->fqn); in cil_type_rule_to_policy()
1273 …pe_transition %s %s : %s %s \"%s\";\n", src->fqn, tgt->fqn, DATUM(i1->data)->fqn, res->fqn, name->… in cil_nametypetransition_to_policy()
1289 fprintf(out, "range_transition %s %s : %s ", src->fqn, exec->fqn, DATUM(i1->data)->fqn); in cil_rangetransition_to_policy()
1298 fprintf(out, "permissive %s;\n", DATUM(rule->type)->fqn); in cil_typepermissive_to_policy()
1489 if (strcmp(role->datum.fqn,"object_r") == 0) in cil_roles_to_policy()
1491 fprintf(out, "role %s;\n", role->datum.fqn); in cil_roles_to_policy()
1504 if (strcmp(role->datum.fqn,"object_r") == 0) in cil_role_types_to_policy()
1511 fprintf(out, "role %s types { %s", role->datum.fqn, type->datum.fqn); in cil_role_types_to_policy()
1514 fprintf(out, " %s", type->datum.fqn); in cil_role_types_to_policy()
1536 if (strcmp(role->datum.fqn,"object_r") == 0) in cil_roleattributes_to_policy()
1542 fprintf(out, "roleattribute %s %s", role->datum.fqn, attribute->datum.fqn); in cil_roleattributes_to_policy()
1545 fprintf(out, ", %s", attribute->datum.fqn); in cil_roleattributes_to_policy()
1563 fprintf(out, "allow %s %s;\n", DATUM(allow->src)->fqn, DATUM(allow->tgt)->fqn); in cil_roleallows_to_policy()
1578 …%s %s : %s %s;\n", DATUM(trans->src)->fqn, DATUM(trans->tgt)->fqn, DATUM(i2->data)->fqn, DATUM(tra… in cil_roletransitions_to_policy()
1595 fprintf(out, "user %s",user->datum.fqn); in cil_users_to_policy()
1613 fprintf(out, " %s", role->datum.fqn); in cil_users_to_policy()
1665 fprintf(out, "sid %s ", sid->datum.fqn); in cil_sid_contexts_to_policy()