tree: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-queued-testing
head: 5f46b4c8c1915cdcd16226e823370de6d5bb2fd2
commit: fcf338449af547bc70428824034f07b93c2d6626 [7/12] x86/ima: require signed kernel modules
config: x86_64-randconfig-s3-03011318 (attached as .config)
compiler: gcc-8 (Debian 8.2.0-20) 8.2.0
reproduce:
git checkout fcf338449af547bc70428824034f07b93c2d6626
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
arch/x86/kernel/ima_arch.c: In function 'arch_get_ima_policy':quoted
arch/x86/kernel/ima_arch.c:78:4: error: implicit declaration of function 'set_module_sig_enforced' [-Werror=implicit-function-declaration]
set_module_sig_enforced();
^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/set_module_sig_enforced +78 arch/x86/kernel/ima_arch.c
73
74 const char * const *arch_get_ima_policy(void)
75 {
76 if (IS_ENABLED(CONFIG_IMA_ARCH_POLICY) && arch_ima_get_secureboot()) {
77 if (IS_ENABLED(CONFIG_MODULE_SIG))
> 78 set_module_sig_enforced();
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation