[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250311133731.GB17395@linux-l9pv.suse>
Date: Tue, 11 Mar 2025 21:37:31 +0800
From: joeyli <jlee@...e.com>
To: KP Singh <kpsingh@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org,
paul@...l-moore.com, bp@...en8.de, sfr@...b.auug.org.au,
peterz@...radead.org, nathan@...nel.org,
Jiri Kosina <JKosina@...e.cz>, Michal Suchanek <msuchanek@...e.com>
Subject: Re: [PATCH] init/main.c: Initialize early LSMs after arch code
Hi KP,
On Thu, Aug 01, 2024 at 07:17:47PM +0200, KP Singh wrote:
> With LSMs using static calls, early_lsm_init needs to wait for setup_arch
> for architecture specific functionality which includes jump tables and
> static calls to be initialized.
>
> This only affects "early LSMs" i.e. only lockdown when
> CONFIG_SECURITY_LOCKDOWN_LSM_EARLY is set.
>
> Fixes: 2732ad5ecd5b ("lsm: replace indirect LSM hook calls with static calls")
> Signed-off-by: KP Singh <kpsingh@...nel.org>
I have tested acpi table override function by
CONFIG_ACPI_TABLE_OVERRIDE_VIA_BUILTIN_INITRD option. As this patch
description, the early LSM can NOT lockdown acpi table override in early
boot stage now.
Do you have any plan to fix the early lockdown LSM? Or I missed any fix
patch in kernel mailing list?
Thanks a lot!
Joey Lee
Powered by blists - more mailing lists