From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] Kernel: Enable YAMA support Date: Mon, 13 Jun 2022 14:31:11 +0100 Message-ID: In-Reply-To: <3c36dd77-0929-7134-7627-a3bf365cb22d@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5558617505503232493==" List-Id: --===============5558617505503232493== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 11 Jun 2022, at 19:53, Peter M=C3=BCller wr= ote: >=20 > See https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html for > the upstream rationale. Enabling YAMA gives us the benefit of additional > hardening options available, without any obvious downsides. >=20 > Signed-off-by: Peter M=C3=BCller > --- > config/kernel/kernel.config.aarch64-ipfire | 2 +- > config/kernel/kernel.config.armv6l-ipfire | 2 +- > config/kernel/kernel.config.riscv64-ipfire | 2 +- > config/kernel/kernel.config.x86_64-ipfire | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/ker= nel.config.aarch64-ipfire > index 6dfeae595..7e63b77ca 100644 > --- a/config/kernel/kernel.config.aarch64-ipfire > +++ b/config/kernel/kernel.config.aarch64-ipfire > @@ -7555,7 +7555,7 @@ CONFIG_FORTIFY_SOURCE=3Dy > # CONFIG_SECURITY_TOMOYO is not set > # CONFIG_SECURITY_APPARMOR is not set > # CONFIG_SECURITY_LOADPIN is not set > -# CONFIG_SECURITY_YAMA is not set > +CONFIG_SECURITY_YAMA=3Dy > # CONFIG_SECURITY_SAFESETID is not set > CONFIG_SECURITY_LOCKDOWN_LSM=3Dy > CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=3Dy > diff --git a/config/kernel/kernel.config.armv6l-ipfire b/config/kernel/kern= el.config.armv6l-ipfire > index 1bb745a87..1b6440b11 100644 > --- a/config/kernel/kernel.config.armv6l-ipfire > +++ b/config/kernel/kernel.config.armv6l-ipfire > @@ -7561,7 +7561,7 @@ CONFIG_HARDENED_USERCOPY_PAGESPAN=3Dy > # CONFIG_SECURITY_TOMOYO is not set > # CONFIG_SECURITY_APPARMOR is not set > # CONFIG_SECURITY_LOADPIN is not set > -# CONFIG_SECURITY_YAMA is not set > +CONFIG_SECURITY_YAMA=3Dy > # CONFIG_SECURITY_SAFESETID is not set > CONFIG_SECURITY_LOCKDOWN_LSM=3Dy > CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=3Dy > diff --git a/config/kernel/kernel.config.riscv64-ipfire b/config/kernel/ker= nel.config.riscv64-ipfire > index 2d1fdbd28..2d6bb3a2c 100644 > --- a/config/kernel/kernel.config.riscv64-ipfire > +++ b/config/kernel/kernel.config.riscv64-ipfire > @@ -6193,7 +6193,7 @@ CONFIG_FORTIFY_SOURCE=3Dy > # CONFIG_SECURITY_TOMOYO is not set > # CONFIG_SECURITY_APPARMOR is not set > # CONFIG_SECURITY_LOADPIN is not set > -# CONFIG_SECURITY_YAMA is not set > +CONFIG_SECURITY_YAMA=3Dy > # CONFIG_SECURITY_SAFESETID is not set > CONFIG_SECURITY_LOCKDOWN_LSM=3Dy > CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=3Dy > diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kern= el.config.x86_64-ipfire > index b84698235..0efe14c41 100644 > --- a/config/kernel/kernel.config.x86_64-ipfire > +++ b/config/kernel/kernel.config.x86_64-ipfire > @@ -6971,7 +6971,7 @@ CONFIG_FORTIFY_SOURCE=3Dy > # CONFIG_SECURITY_TOMOYO is not set > # CONFIG_SECURITY_APPARMOR is not set > # CONFIG_SECURITY_LOADPIN is not set > -# CONFIG_SECURITY_YAMA is not set > +CONFIG_SECURITY_YAMA=3Dy > # CONFIG_SECURITY_SAFESETID is not set > CONFIG_SECURITY_LOCKDOWN_LSM=3Dy > CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=3Dy > --=20 > 2.35.3 --===============5558617505503232493==--