Re: [PATCH] selftests/landlock: fix the regex_escape() error check
From: Sasha Levin
Date: Tue Nov 03 2026 - 16:57:42 EST
On Tue, Nov 03, 2026 at 09:31:33PM +0100, Günther Noack wrote:
> Thanks for the contribution! I also stumbled across this one when I
> did a wider cleanup, and at the time I came to the conclusion that it
> would be wiser to fix the weird way in which regex_escape() reports
> errors.
>
> https://lore.kernel.org/all/20261008142604.39107-20-gnoack3000@xxxxxxxxx/
>
> Does that seem reasonable to you?
Yes, that's better. Your 18/27 also fixes the size miscount after the
escaped path, so it covers everything this patch does. Let's drop this
one in favor of your series.
--
Thanks,
Sasha