Searched refs:policy_fp (Results 1 – 2 of 2) sorted by relevance
303 FILE *policy_fp = NULL; in main() local342 policy_fp = fopen(policy_file, "r"); in main()344 if (!policy_fp) { in main()350 if (sepol_set_policydb_from_file(policy_fp) < 0) { in main()353 fclose(policy_fp); in main()362 if (policy_fp) in main()363 fclose(policy_fp); in main()382 if (policy_fp) in main()383 fclose(policy_fp); in main()449 if (policy_fp) in main()[all …]
26 static FILE *policy_fp = NULL; variable36 fprintf(policy_fp, "%s\n", policy); in try_io()62 fprintf(policy_fp, "delete %s\n", policy); in try_io()69 policy_fp = domain_fp; in stage_policy_io_test()115 policy_fp = exception_fp; in stage_policy_io_test()