Home
last modified time | relevance | path

Searched refs:policy_fp (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libselinux/utils/
Dsefcontext_compile.c303 FILE *policy_fp = NULL; in main() local
342 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 …]
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_policy_io_test.c26 static FILE *policy_fp = NULL; variable
36 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()