Re: [PATCH v4 15/59] struct filename: saner handling of long names

Mark Brown
2026-01-13T17:51:39Z

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

On Tue, Jan 13, 2026 at 03:39:53PM +0000, Al Viro wrote:
> On Tue, Jan 13, 2026 at 03:31:14PM +0000, Mark Brown wrote:

> > I'm seeing a regression in -next in the execveat kselftest which bisects
> > to 2a0db5f7653b ("struct filename: saner handling of long names"). The
> > test triggers two new failures with very long filenames for tests that
> > previously succeeded:

> Could you check if replacing (in include/linux/fs.h)

> #define EMBEDDED_NAME_MAX 192 - sizeof(struct __filename_head)

> with

> #define EMBEDDED_NAME_MAX (192 - sizeof(struct __filename_head))

> is sufficient for fixing that reproducer?

Yes, that fixes both testcases - thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]