From 0ca00d33f9aa4adbf409b855b4681d3378cb2793 Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Sat, 24 Jul 2021 18:46:14 +0530 Subject: [PATCH] Added dmesg security restriction. This has been enabled in generic kernels of Ubuntu. If enabled, dmesg will now be run only as root. --- templates/default-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default-config b/templates/default-config index 9103a48b..3a42d9b5 100644 --- a/templates/default-config +++ b/templates/default-config @@ -9968,7 +9968,7 @@ CONFIG_BIG_KEYS=y CONFIG_TRUSTED_KEYS=m CONFIG_ENCRYPTED_KEYS=m CONFIG_KEY_DH_OPERATIONS=y -# CONFIG_SECURITY_DMESG_RESTRICT is not set +CONFIG_SECURITY_DMESG_RESTRICT=y CONFIG_SECURITY=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y