Re: linux-next: build failure after merge of the security tree
From: Paul Moore
Date: Tue Jun 02 2026 - 14:43:37 EST
On Tue, Jun 2, 2026 at 12:31 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> On Tue, Jun 2, 2026 at 12:16 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
> >
> > Hi all,
> >
> > After merging the security tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > /tmp/next/build/security/hornet/hornet_lsm.c:212:36: error: too many arguments to function call, expected 1, have 3
> > 212 | if (map->ops->map_get_hash(map, SHA256_DIGEST_SIZE, hash))
> > | ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
> > /tmp/next/build/include/crypto/sha2.h:14:33: note: expanded from macro 'SHA256_DIGEST_SIZE'
> > 14 | #define SHA256_DIGEST_SIZE 32
> > | ^
> >
> >
> > Caused by commit
> >
> > c62310df81899 (lsm: introduce the Hornet LSM)
> >
> > interacting with
> >
> > c48c3a7e7d5be (bpf: Drop redundant hash_buf from map_get_hash operation)
> >
> > from the bpf-next tree. I have reverted the latter commit, the new LSM
> > means that the assumption in the changelog that there is only one caller
> > isn't true and it seems like the most straightforward approach.
>
> Thanks Mark, we're taking a look at it now and should have a
> fix/answer later today.
Proposed update to Hornet, assuming this looks okay to Blaise I'll
merge it into the LSM tree (and either pull in Daniel's patch or base
off bpf-next so everything builds correctly).
https://lore.kernel.org/linux-security-module/20260602183658.161744-2-paul@xxxxxxxxxxxxxx/
--
paul-moore.com