Re: [PATCH] selftests/landlock: fix the regex_escape() error check

From
Sasha Levin <sashal@kernel.org>
Date
2026-11-03 21:49:43
Also in
linux-kselftest, lkml
Reply to
Günther Noack, 2026-11-03
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@gmail.com/ (local)

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
Thread (4 messages) 4 messages, 3 authors, last reply 5d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help