From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= <peter.mueller@ipfire.org> To: development@lists.ipfire.org Subject: Re: [PATCH 12/13] kernel: Zero-init all stack variables by default Date: Sat, 18 Sep 2021 16:11:45 +0000 Message-ID: <7f0830f5-fb62-17c6-8787-0c5fabe8fc78@ipfire.org> In-Reply-To: <20210917114229.10704-12-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2814152750432623094==" List-Id: <development.lists.ipfire.org> --===============2814152750432623094== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Peter likes this one. :-) Acked-by: Peter M=C3=BCller <peter.mueller(a)ipfire.org> > Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org> > --- > 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(-) >=20 > diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/ker= nel.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/kern= el.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/kern= el.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 >=20 --===============2814152750432623094==--