491 |
#endif |
#endif |
492 |
ccs_io_printf(head, "PREFERENCE::learning={ verbose=%s max_entry=%u " |
ccs_io_printf(head, "PREFERENCE::learning={ verbose=%s max_entry=%u " |
493 |
"exec.realpath=%s exec.argv0=%s symlink.target=%s }\n", |
"exec.realpath=%s exec.argv0=%s symlink.target=%s }\n", |
494 |
ccs_yesno(ccs_default_profile.preference.learning_verbose), |
ccs_yesno(ccs_default_profile.preference. |
495 |
|
learning_verbose), |
496 |
ccs_default_profile.preference.learning_max_entry, |
ccs_default_profile.preference.learning_max_entry, |
497 |
ccs_yesno(ccs_default_profile.preference.learning_exec_realpath), |
ccs_yesno(ccs_default_profile.preference. |
498 |
ccs_yesno(ccs_default_profile.preference.learning_exec_argv0), |
learning_exec_realpath), |
499 |
|
ccs_yesno(ccs_default_profile.preference. |
500 |
|
learning_exec_argv0), |
501 |
ccs_yesno(ccs_default_profile.preference. |
ccs_yesno(ccs_default_profile.preference. |
502 |
learning_symlink_target)); |
learning_symlink_target)); |
503 |
ccs_io_printf(head, "PREFERENCE::permissive={ verbose=%s }\n", |
ccs_io_printf(head, "PREFERENCE::permissive={ verbose=%s }\n", |
504 |
ccs_yesno(ccs_default_profile.preference.permissive_verbose)); |
ccs_yesno(ccs_default_profile.preference. |
505 |
|
permissive_verbose)); |
506 |
ccs_io_printf(head, "PREFERENCE::enforcing={ verbose=%s penalty=%u " |
ccs_io_printf(head, "PREFERENCE::enforcing={ verbose=%s penalty=%u " |
507 |
"}\n", |
"}\n", |
508 |
ccs_yesno(ccs_default_profile.preference.enforcing_verbose), |
ccs_yesno(ccs_default_profile.preference. |
509 |
|
enforcing_verbose), |
510 |
ccs_default_profile.preference.enforcing_penalty); |
ccs_default_profile.preference.enforcing_penalty); |
511 |
head->read_bit = 1; |
head->read_bit = 1; |
512 |
body: |
body: |
565 |
ccs_mode_4[config & 3])) |
ccs_mode_4[config & 3])) |
566 |
goto out; |
goto out; |
567 |
#endif |
#endif |
|
|
|
568 |
} |
} |
569 |
#ifdef CONFIG_CCSECURITY_AUDIT |
#ifdef CONFIG_CCSECURITY_AUDIT |
570 |
if (profile->audit != &ccs_default_profile.preference && |
if (profile->audit != &ccs_default_profile.preference && |