[PATCH -next] lockdown: Add break in lockdown_write
Paul Moore
paul at paul-moore.com
Thu Jan 22 17:41:23 UTC 2026
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.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list