Re: [PATCH v3 2/2] modules:capabilities: add a per-task modules autoload restriction
From: kbuild test robot
Date: Wed Apr 19 2017 - 21:58:52 EST
Hi Djalal,
[auto build test ERROR on security/next]
[also build test ERROR on next-20170419]
[cannot apply to linus/master v4.11-rc7]
[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/Djalal-Harouni/modules-capabilities-automatic-module-loading-restrictions/20170420-093603
base: https://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next
config: x86_64-randconfig-x017-201716 (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=x86_64
All errors (new ones prefixed by >>):
In file included from include/net/scm.h:7:0,
from include/linux/netlink.h:8,
from include/uapi/linux/neighbour.h:5,
from include/linux/netdevice.h:51,
from include/net/sock.h:51,
from fs//ocfs2/cluster/tcp.h:32,
from fs//ocfs2/cluster/heartbeat.c:41:
include/linux/security.h: In function 'security_task_alloc':
>> include/linux/security.h:869:9: error: implicit declaration of function 'cap_task_alloc' [-Werror=implicit-function-declaration]
return cap_task_alloc(task, clone_flags);
^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/cap_task_alloc +869 include/linux/security.h
863 return 0;
864 }
865
866 static inline int security_task_alloc(struct task_struct *task,
867 unsigned long clone_flags)
868 {
> 869 return cap_task_alloc(task, clone_flags);
870 }
871
872 static inline void security_task_free(struct task_struct *task)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip