security: ima_policy.c:427:17: error: too many arguments to function 'ima_filter_rule_init'

Paul Moore paul at paul-moore.com
Thu Jun 13 17:36:06 UTC 2024


On Thu, Jun 13, 2024 at 8:43 AM Naresh Kamboju
<naresh.kamboju at linaro.org> wrote:
>
> The arm and arm64 kselftests builds started failing on Linux next-20240613 tag.
> Please find the build log and related links below.
>
> Reported-by: Linux Kernel Functional Testing <lkft at linaro.org>

Thank you, the same error was reported by the kernel test robot
overnight.  I'm going to look at it today, I suspect it is a conflict
between the LSM and IMA/EVM branches.  FWIW, I compiled and booted a
kernel using the LSM changes yesterday without problem.

> Build error:
> --------
> security/integrity/ima/ima_policy.c: In function 'ima_lsm_copy_rule':
> security/integrity/ima/ima_policy.c:427:17: error: too many arguments
> to function 'ima_filter_rule_init'
>   427 |                 ima_filter_rule_init(nentry->lsm[i].type, Audit_equal,
>       |                 ^~~~~~~~~~~~~~~~~~~~

-- 
paul-moore.com



More information about the Linux-security-module-archive mailing list