Re: [PATCH 1/2] seccomp: Create an action to audit before allowing
From: kbuild test robot
Date: Mon Jan 02 2017 - 15:34:02 EST
Hi Tyler,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc2 next-20161224]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Tyler-Hicks/seccomp-Create-an-action-to-audit-before-allowing/20170103-041342
config: i386-randconfig-x003-201701 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
kernel/seccomp.c: In function '__seccomp_filter':
>> kernel/seccomp.c:634:3: error: implicit declaration of function 'audit_seccomp_common' [-Werror=implicit-function-declaration]
audit_seccomp_common(this_syscall, action);
^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/audit_seccomp_common +634 kernel/seccomp.c
628 if (__seccomp_filter(this_syscall, NULL, true))
629 return -1;
630
631 return 0;
632
633 case SECCOMP_RET_AUDIT:
> 634 audit_seccomp_common(this_syscall, action);
635 return 0;
636
637 case SECCOMP_RET_ALLOW:
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip