Kconfig

If SECURITY_TOMOYO

CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY Default maximal count for learning mode

This is the default value for maximal ACL entries that are automatically appended into policy at "learning mode". Some programs access thousands of objects, so running such programs in "learning mode" dulls the system response and consumes much memory. This is the safeguard for such programs.

CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG Default maximal count for audit log

This is the default value for maximal entries for audit logs that the kernel can hold on memory. You can read the log via /sys/kernel/security/tomoyo/audit. If you don't need audit logs, you may set this value to 0.

CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER Activate without calling userspace policy loader.

On

Say Y here if you want to activate access control as soon as built-in policy was loaded. This option will be useful for systems where operations which can lead to the hijacking of the boot sequence are needed before loading the policy. For example, you can activate immediately after loading the fixed part of policy which will allow only operations needed for mounting a partition which contains the variant part of policy and verifying (e.g. running GPG check) and loading the variant part of policy. Since you can start using enforcing mode from the beginning, you can reduce the possibility of hijacking the boot sequence.

CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING Use insecure built-in settings for fuzzing tests.

On

Enabling this option forces minimal built-in policy and disables domain/program checks for run-time policy modifications. Please enable this option only if this kernel is built for doing fuzzing tests.