Lines Matching refs:profile_fp
128 static FILE *profile_fp = NULL; variable
170 fprintf(profile_fp, in clear_status()
187 fprintf(profile_fp, "255-%s", cp); in clear_status()
192 fprintf(profile_fp, "255-%s=%s", cp, mode); in clear_status()
194 fprintf(profile_fp, "255-PREFERENCE::learning= verbose=no\n"); in clear_status()
195 fprintf(profile_fp, "255-PREFERENCE::enforcing= verbose=no\n"); in clear_status()
196 fprintf(profile_fp, "255-PREFERENCE::permissive= verbose=no\n"); in clear_status()
197 fprintf(profile_fp, "255-PREFERENCE::disabled= verbose=no\n"); in clear_status()
198 fprintf(profile_fp, "255-PREFERENCE::learning= max_entry=2048\n"); in clear_status()
199 fflush(profile_fp); in clear_status()
211 profile_fp = fopen(proc_policy_profile, "w"); in tomoyo_test_init()
212 if (!profile_fp) { in tomoyo_test_init()
216 setlinebuf(profile_fp); in tomoyo_test_init()
231 if (fputc('\n', profile_fp) != '\n' || fflush(profile_fp)) { in tomoyo_test_init()
357 fprintf(profile_fp, "255-CONFIG::%s=%s\n", name, modes[mode]); in set_profile()