From 0170d52216e25e20ccb3d09f454aa41eb98d7a86 Mon Sep 17 00:00:00 2001 From: q66 Date: Mon, 8 Mar 2021 02:23:26 +0100 Subject: [PATCH] linux*: enable init_on_alloc by default on ppc and ppc64 as well --- srcpkgs/linux5.10/files/ppc-dotconfig | 2 +- srcpkgs/linux5.10/files/ppc64-dotconfig | 2 +- srcpkgs/linux5.11/files/ppc-dotconfig | 2 +- srcpkgs/linux5.11/files/ppc64-dotconfig | 2 +- srcpkgs/linux5.4/files/ppc-dotconfig | 2 +- srcpkgs/linux5.4/files/ppc64-dotconfig | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/linux5.10/files/ppc-dotconfig b/srcpkgs/linux5.10/files/ppc-dotconfig index b41439ce167..49cfd6e6f5d 100644 --- a/srcpkgs/linux5.10/files/ppc-dotconfig +++ b/srcpkgs/linux5.10/files/ppc-dotconfig @@ -7471,7 +7471,7 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity,apparmor,selinux,smack,tomoyo" # Memory initialization # CONFIG_INIT_STACK_NONE=y -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization # end of Kernel hardening options diff --git a/srcpkgs/linux5.10/files/ppc64-dotconfig b/srcpkgs/linux5.10/files/ppc64-dotconfig index 4579421aac2..ed408edbab5 100644 --- a/srcpkgs/linux5.10/files/ppc64-dotconfig +++ b/srcpkgs/linux5.10/files/ppc64-dotconfig @@ -9360,7 +9360,7 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity" # Memory initialization # CONFIG_INIT_STACK_NONE=y -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization # end of Kernel hardening options diff --git a/srcpkgs/linux5.11/files/ppc-dotconfig b/srcpkgs/linux5.11/files/ppc-dotconfig index d47126937ab..a15dc18fb3f 100644 --- a/srcpkgs/linux5.11/files/ppc-dotconfig +++ b/srcpkgs/linux5.11/files/ppc-dotconfig @@ -7499,7 +7499,7 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity,apparmor,selinux,smack,tomoyo" # Memory initialization # CONFIG_INIT_STACK_NONE=y -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization # end of Kernel hardening options diff --git a/srcpkgs/linux5.11/files/ppc64-dotconfig b/srcpkgs/linux5.11/files/ppc64-dotconfig index 617632c1702..23f15812f32 100644 --- a/srcpkgs/linux5.11/files/ppc64-dotconfig +++ b/srcpkgs/linux5.11/files/ppc64-dotconfig @@ -9428,7 +9428,7 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity" # Memory initialization # CONFIG_INIT_STACK_NONE=y -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization # end of Kernel hardening options diff --git a/srcpkgs/linux5.4/files/ppc-dotconfig b/srcpkgs/linux5.4/files/ppc-dotconfig index 05dd2bf84ff..fcf648a73a2 100644 --- a/srcpkgs/linux5.4/files/ppc-dotconfig +++ b/srcpkgs/linux5.4/files/ppc-dotconfig @@ -6961,7 +6961,7 @@ CONFIG_INIT_STACK_NONE=y # CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization # end of Kernel hardening options diff --git a/srcpkgs/linux5.4/files/ppc64-dotconfig b/srcpkgs/linux5.4/files/ppc64-dotconfig index 6fc8230df3d..9fbfcfe3e70 100644 --- a/srcpkgs/linux5.4/files/ppc64-dotconfig +++ b/srcpkgs/linux5.4/files/ppc64-dotconfig @@ -8910,7 +8910,7 @@ CONFIG_INIT_STACK_NONE=y # CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization # end of Kernel hardening options