aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/config/linux/upstream-usb-base.config
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-12-14 11:09:26 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-12-14 12:32:30 +0100
commitd018dd31bfa66650daec4d49dc7b264a827e7834 (patch)
treedb6390a2482b7b800a7242b0d48c252d7b0d5693 /dashboard/config/linux/upstream-usb-base.config
parent5d14b1ea9683380c2098648a6b86f95eff7729dd (diff)
dashboard/config/linux: reduce tomoyo learning quota
High values of CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY cause significant slowdown (see issue #2892). Reduce the value. Fixes #2892
Diffstat (limited to 'dashboard/config/linux/upstream-usb-base.config')
-rw-r--r--dashboard/config/linux/upstream-usb-base.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/config/linux/upstream-usb-base.config b/dashboard/config/linux/upstream-usb-base.config
index 677ce5e15..022e2dae6 100644
--- a/dashboard/config/linux/upstream-usb-base.config
+++ b/dashboard/config/linux/upstream-usb-base.config
@@ -4535,7 +4535,7 @@ CONFIG_FORTIFY_SOURCE=y
# CONFIG_SECURITY_SELINUX is not set
# CONFIG_SECURITY_SMACK is not set
CONFIG_SECURITY_TOMOYO=y
-CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=1024
+CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=64
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=32
CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y
CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=y