From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH 1/3] linux: Enable Indirect Branch Tracking by default Date: Sun, 09 Jul 2023 14:55:00 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2146131272541161589==" List-Id: --===============2146131272541161589== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This became upstream default (see https://www.phoronix.com/news/Linux-IBT-By-Default-Tip for IT news media coverage), and given its security-relevance, we should adopt this setting as well. Signed-off-by: Peter M=C3=BCller --- config/kernel/kernel.config.x86_64-ipfire | 2 +- config/rootfiles/common/x86_64/linux | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel= .config.x86_64-ipfire index 6c880ca8a..d70a19656 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -431,7 +431,7 @@ CONFIG_X86_PAT=3Dy CONFIG_ARCH_USES_PG_UNCACHED=3Dy CONFIG_X86_UMIP=3Dy CONFIG_CC_HAS_IBT=3Dy -# CONFIG_X86_KERNEL_IBT is not set +CONFIG_X86_KERNEL_IBT=3Dy CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=3Dy CONFIG_X86_INTEL_TSX_MODE_OFF=3Dy # CONFIG_X86_INTEL_TSX_MODE_ON is not set diff --git a/config/rootfiles/common/x86_64/linux b/config/rootfiles/common/x= 86_64/linux index fb4ea3a6f..6d00654af 100644 --- a/config/rootfiles/common/x86_64/linux +++ b/config/rootfiles/common/x86_64/linux @@ -11318,6 +11318,7 @@ etc/modprobe.d/ipv6.conf #lib/modules/KVER-ipfire/build/include/config/X86_INTERNODE_CACHE_SHIFT #lib/modules/KVER-ipfire/build/include/config/X86_IOPL_IOPERM #lib/modules/KVER-ipfire/build/include/config/X86_IO_APIC +#lib/modules/KVER-ipfire/build/include/config/X86_KERNEL_IBT #lib/modules/KVER-ipfire/build/include/config/X86_L1_CACHE_SHIFT #lib/modules/KVER-ipfire/build/include/config/X86_LOCAL_APIC #lib/modules/KVER-ipfire/build/include/config/X86_MCE --=20 2.35.3 --===============2146131272541161589==--