From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 12/13] kernel: Zero-init all stack variables by default Date: Tue, 21 Sep 2021 10:50:18 +0100 Message-ID: <3EA590BE-6998-45B3-BEC9-7989AEC23DF4@ipfire.org> In-Reply-To: <7f0830f5-fb62-17c6-8787-0c5fabe8fc78@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4313166612260323491==" List-Id: --===============4313166612260323491== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I thought you would :) > On 18 Sep 2021, at 17:11, Peter M=C3=BCller wr= ote: >=20 > Peter likes this one. :-) >=20 > Acked-by: Peter M=C3=BCller >=20 >=20 >> Signed-off-by: Michael Tremer >> --- >> config/kernel/kernel.config.aarch64-ipfire | 2 +- >> config/kernel/kernel.config.armv6l-ipfire | 2 +- >> config/kernel/kernel.config.x86_64-ipfire | 2 +- >> 3 files changed, 3 insertions(+), 3 deletions(-) >> diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/ke= rnel.config.aarch64-ipfire >> index 49ee85970..7ae9f9738 100644 >> --- a/config/kernel/kernel.config.aarch64-ipfire >> +++ b/config/kernel/kernel.config.aarch64-ipfire >> @@ -7325,7 +7325,7 @@ CONFIG_GCC_PLUGIN_STRUCTLEAK=3Dy >> CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=3Dy >> # CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set >> # CONFIG_GCC_PLUGIN_STACKLEAK is not set >> -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set >> +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=3Dy >> # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set >> # end of Memory initialization >> # end of Kernel hardening options >> diff --git a/config/kernel/kernel.config.armv6l-ipfire b/config/kernel/ker= nel.config.armv6l-ipfire >> index b11a179e3..33117b0b4 100644 >> --- a/config/kernel/kernel.config.armv6l-ipfire >> +++ b/config/kernel/kernel.config.armv6l-ipfire >> @@ -7416,7 +7416,7 @@ CONFIG_GCC_PLUGIN_STRUCTLEAK=3Dy >> # CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set >> CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=3Dy >> # CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set >> -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set >> +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=3Dy >> # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set >> # end of Memory initialization >> # end of Kernel hardening options >> diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/ker= nel.config.x86_64-ipfire >> index 65014f41a..aab0cfb25 100644 >> --- a/config/kernel/kernel.config.x86_64-ipfire >> +++ b/config/kernel/kernel.config.x86_64-ipfire >> @@ -6805,7 +6805,7 @@ CONFIG_GCC_PLUGIN_STRUCTLEAK=3Dy >> CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=3Dy >> # CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set >> # CONFIG_GCC_PLUGIN_STACKLEAK is not set >> -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set >> +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=3Dy >> # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set >> # end of Memory initialization >> # end of Kernel hardening options --===============4313166612260323491==--