[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <684fd2b1e3d47c3e14b74b904f233c57@paul-moore.com>
Date: Thu, 11 Sep 2025 16:32:03 -0400
From: Paul Moore <paul@...l-moore.com>
To: Randy Dunlap <rdunlap@...radead.org>, linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>, Kees Cook <kees@...nel.org>, James Morris <jmorris@...ei.org>, "Serge E. Hallyn" <serge@...lyn.com>, linux-security-module@...r.kernel.org
Subject: Re: [PATCH] security: CONFIG_LSM: LSM can depend on SECURITY
On Aug 24, 2025 Randy Dunlap <rdunlap@...radead.org> wrote:
>
> When CONFIG_SECURITY is not set, CONFIG_LSM (builtin_lsm_order) does
> not need to be visible and settable since builtin_lsm_order is defined in
> security.o, which is only built when CONFIG_SECURITY=y.
>
> So make CONFIG_LSM depend on CONFIG_SECURITY.
>
> Fixes: 13e735c0e953 ("LSM: Introduce CONFIG_LSM")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> ---
> Cc: Kees Cook <kees@...nel.org>
> Cc: Paul Moore <paul@...l-moore.com>
> Cc: James Morris <jmorris@...ei.org>
> Cc: "Serge E. Hallyn" <serge@...lyn.com>
> Cc: linux-security-module@...r.kernel.org
>
> security/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Merged into lsm/dev, thanks!
--
paul-moore.com
Powered by blists - more mailing lists