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

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.audit,org.kernel.vger.io-uring,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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!
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmlmhiUACgkQJNaLcl1U
h9D+Fgf+Kes/aSCAueu1qfrerl0JcUVsduMxtytvZhZRtYOZUzYgu6kid1P4zS5u
cB5UgmPBUyPl5R/MxwWR4cNczlzXNFEaxsK98vJkDb8JLEE//EPjvqX4U3k1oKxz
1E8gkC1QxX1a50iY6DlKm9fuyjoe1ipQf79X5WeLqJZH/LRuvq8APEPjMGtdtWwb
uzTemUH1GvgZ79y2wzHogJtzt10qfdX6O8aUIhLcS1Sb3w5xTpV4vYHQ8w3bGFEy
TKtKrT3nO7GmZVlV1rLAhKkpZ5YJvhyfkkpixNDY0ewFBmO3pv96cCAhRtwUOliu
6xpuTk37TiRbf30DeGcEOrNhbnmYQA==
=7zUr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.