Lines Matching refs:CONSTRAINS

60 #define CONSTRAINS			8  macro
513 fprintf(file_arr[CONSTRAINS], "%s %s", kind, cp->class->datum.name); in cil_constrain_to_policy_helper()
514 cil_perms_to_policy(file_arr, CONSTRAINS, cp->perms); in cil_constrain_to_policy_helper()
515 fprintf(file_arr[CONSTRAINS], "\n\t"); in cil_constrain_to_policy_helper()
516 cil_expr_to_policy(file_arr, CONSTRAINS, expr); in cil_constrain_to_policy_helper()
517 fprintf(file_arr[CONSTRAINS], ";\n"); in cil_constrain_to_policy_helper()
1063 cil_constrain_to_policy(file_arr, CONSTRAINS, (struct cil_constrain*)current->data, flavor); in cil_name_to_policy()
1066 cil_constrain_to_policy(file_arr, CONSTRAINS, (struct cil_constrain*)current->data, flavor); in cil_name_to_policy()
1070 fprintf(file_arr[CONSTRAINS], "validatetrans"); in cil_name_to_policy()
1071 fprintf(file_arr[CONSTRAINS], " %s ", ((struct cil_class*)vt->class)->datum.name); in cil_name_to_policy()
1072 cil_expr_to_policy(file_arr, CONSTRAINS, vt->datum_expr); in cil_name_to_policy()
1073 fprintf(file_arr[CONSTRAINS], ";\n"); in cil_name_to_policy()
1078 fprintf(file_arr[CONSTRAINS], "mlsvalidatetrans"); in cil_name_to_policy()
1079 fprintf(file_arr[CONSTRAINS], " %s " , ((struct cil_class*)vt->class)->datum.name); in cil_name_to_policy()
1080 cil_expr_to_policy(file_arr, CONSTRAINS, vt->datum_expr); in cil_name_to_policy()
1081 fprintf(file_arr[CONSTRAINS], ";\n"); in cil_name_to_policy()
1235 file_arr[CONSTRAINS] = fdopen(mkstemp(temp), "w+"); in cil_gen_policy()
1236 file_path_arr[CONSTRAINS] = cil_strpool_add(temp); in cil_gen_policy()