[PATCH] landlock: Move the domain layer counter out of the anonymous union
Michael Bommarito
michael.bommarito at gmail.com
Sat Oct 10 00:02:02 UTC 2026
On Fri, Oct 9, 2026 at 7:52 PM Kees Cook <kees at kernel.org> wrote:
> I'm still catching up from travel, so apologies if this already got checked, but has this been verified against GCC as well? Is it only a Clang problem?
>
> Regardless, if counted_by is not working for a given compiler version we'll need to exclude its use by version. :(
It is only clang, not gcc. See my comparison between gcc 15 and clang
21.1.8 output in [1]. I didn't test clang
20 or 23 like Abel did, but it seems like we can't gate on any
available clang version.
[1] https://github.com/llvm/llvm-project/pull/228309#issuecomment-6080475086
Thanks,
Mike
More information about the Linux-security-module-archive
mailing list