[PATCH -next] lockdown: Add break in lockdown_write

Paul Moore paul at paul-moore.com
Thu Jul 2 16:50:18 UTC 2026


On Thu, Jan 22, 2026 at 12:41 PM Paul Moore <paul at paul-moore.com> wrote:
>
> On Thu, Jan 22, 2026 at 4:31 AM Xiu Jianfeng <xiujianfeng at huawei.com> wrote:
> > On 1/19/2026 5:12 PM, Cai Xinchen wrote:
> > > After the label is matched successful, any other levels judgements
> > > are meaningless. Therefore, add break to return early
> > >
> > > Signed-off-by: Cai Xinchen <caixinchen1 at huawei.com>
> >
> > Looks good to me, thanks.
> >
> > Acked-by: Xiu Jianfeng <xiujianfeng at huawei.com>
> >
> > Paul,
> >
> > Would you mind if this patch went through the LSM tree? :)
>
> Assuming Nicolas is okay with that, I can take this through the LSM tree.

Following up on this as I never saw a response on-list and the patch
doesn't appear to be in Linus' tree.

-- 
paul-moore.com



More information about the Linux-security-module-archive mailing list