[PATCH] landlock: Move the domain layer counter out of the anonymous union

Mickaël Salaün mic at digikod.net
Sun Oct 11 16:16:00 UTC 2026


Thanks everyone!  We also received another minimal patch that I rebased
and applied.  See the final commit:
https://git.kernel.org/mic/c/3d8cc52db2f86b624308321c58513019f6b21eec

 Mickaël

On Fri, Oct 09, 2026 at 08:02:02PM -0400, Michael Bommarito wrote:
> 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