Linux Security Modules development
 help / color / mirror / Atom feed
From: Yeoreum Yun <yeoreum.yun@arm.com>
To: Paul Moore <paul@paul-moore.com>
Cc: zohar@linux.ibm.com, linux-security-module@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org,
	roberto.sassu@huaweicloud.com, noodles@earth.li,
	jarkko@kernel.org, sudeep.holla@kernel.org, jmorris@namei.org,
	serge@hallyn.com, dmitry.kasatkin@gmail.com,
	eric.snowberg@oracle.com, jgg@ziepe.ca
Subject: Re: [PATCH v6 1/4] security: lsm: allow LSMs to register for late_initcall_sync init
Date: Thu, 2 Jul 2026 20:42:32 +0100	[thread overview]
Message-ID: <aka_KCX4ogBy2Zuk@e129823.arm.com> (raw)
In-Reply-To: <CAHC9VhQXwXHjKcr0SRNQyzKZgCwG1RLPT6kWDLLwEKExfXzzOw@mail.gmail.com>

> On Fri, Jun 5, 2026 at 10:43 AM Yeoreum Yun <yeoreum.yun@arm.com> wrote:
> >
> > There are situations where LSMs have dependencies that might mean they
> > want to be initialised later in the boot process, to ensure those
> > dependencies are available. In particular there are some TPM setups (Arm
> > FF-A devices, SPI attached TPMs) required by IMA which are not
> > guaranteed to be initialised for regular initcall_late.
> >
> > Add an initcall_late_sync option that can be used in these situations.
> >
> > Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
> > ---
> >  include/linux/lsm_hooks.h |  2 ++
> >  security/lsm_init.c       | 13 +++++++++++--
> >  2 files changed, 13 insertions(+), 2 deletions(-)
> 
> Looks good to me, thanks for working on sorting this out.
> 
> Acked-by: Paul Moore <paul@paul-moore.com>

Thanks!

> 
> -- 
> paul-moore.com

-- 
Sincerely,
Yeoreum Yun

  reply	other threads:[~2026-07-02 19:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-05 14:43 [PATCH v6 0/4] introduce IMA_INIT_LATE_SYNC option Yeoreum Yun
2026-06-05 14:43 ` [PATCH v6 1/4] security: lsm: allow LSMs to register for late_initcall_sync init Yeoreum Yun
2026-06-08 16:52   ` Mimi Zohar
2026-06-08 17:24     ` Paul Moore
2026-07-02 18:36   ` Paul Moore
2026-07-02 19:42     ` Yeoreum Yun [this message]
2026-06-05 14:43 ` [PATCH v6 2/4] security: ima: introduce IMA_INIT_LATE_SYNC option Yeoreum Yun
2026-06-08 17:40   ` Mimi Zohar
2026-06-09 11:13     ` Yeoreum Yun
2026-06-05 14:43 ` [PATCH v6 3/4] security: ima: rename boot_aggregate when ima is initialised at late_sync Yeoreum Yun
2026-06-05 14:43 ` [PATCH v6 4/4] tpm: tpm_crb_ffa: revert defered_probed when tpm_crb_ffa is built-in Yeoreum Yun
2026-06-08  4:45   ` Jarkko Sakkinen
2026-06-08  7:15     ` Yeoreum Yun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aka_KCX4ogBy2Zuk@e129823.arm.com \
    --to=yeoreum.yun@arm.com \
    --cc=dmitry.kasatkin@gmail.com \
    --cc=eric.snowberg@oracle.com \
    --cc=jarkko@kernel.org \
    --cc=jgg@ziepe.ca \
    --cc=jmorris@namei.org \
    --cc=linux-integrity@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=noodles@earth.li \
    --cc=paul@paul-moore.com \
    --cc=roberto.sassu@huaweicloud.com \
    --cc=serge@hallyn.com \
    --cc=sudeep.holla@kernel.org \
    --cc=zohar@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox