Re: [PATCH v3 09/14] vfs: add O_CREAT|O_DIRECTORY to open*(2)
From: Christian Brauner
Date: Thu Jul 09 2026 - 11:04:12 EST
> Maybe just backport -EINVAL to every kernel since introducing openat2(2) then
> that can be used as a test.
>
> But that is an issue if openat2 is blocked. I don't know enough about blocking
> syscalls to know if that is a big issue or not or whether it can be worked around.
> But something like this seems reasonable.
Please just send a new version with the relevant issues addressed.
The last comment clearly didn't even bother to figure out that nearly
all LTSes return -EINVAL for the combination. 5.10 and 5.15 fail as well
but are broken because apparently they didn't get the actual backport
years ago. They die in December. And upstream doesn't care about
Back-To-The-Future Frankenstein kernels.