[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201607040047.vw38K6Gy%fengguang.wu@intel.com>
Date: Mon, 4 Jul 2016 00:13:02 +0800
From: kbuild test robot <lkp@...el.com>
To: Topi Miettinen <toiwoton@...il.com>
Cc: kbuild-all@...org, "Serge E. Hallyn" <serge@...lyn.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Tejun Heo <tj@...nel.org>, lkml <linux-kernel@...r.kernel.org>,
luto@...nel.org, Kees Cook <keescook@...omium.org>,
Jonathan Corbet <corbet@....net>,
Li Zefan <lizefan@...wei.com>,
Johannes Weiner <hannes@...xchg.org>,
Serge Hallyn <serge.hallyn@...onical.com>,
James Morris <james.l.morris@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
David Howells <dhowells@...hat.com>,
David Woodhouse <David.Woodhouse@...el.com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Petr Mladek <pmladek@...e.com>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
"open list:CONTROL GROUP (CGROUP)" <cgroups@...r.kernel.org>,
"open list:CAPABILITIES" <linux-security-module@...r.kernel.org>
Subject: Re: [PATCH] capabilities: audit capability use
Hi,
[auto build test ERROR on cgroup/for-next]
[also build test ERROR on v4.7-rc5]
[cannot apply to next-20160701]
[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/Topi-Miettinen/capabilities-audit-capability-use/20160703-231120
base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
>> kernel/audit.c:1713:6: error: redefinition of 'audit_log_cap_use'
void audit_log_cap_use(int cap)
^
In file included from kernel/audit.c:59:0:
include/linux/audit.h:574:20: note: previous definition of 'audit_log_cap_use' was here
static inline void audit_log_cap_use(int cap)
^
kernel/audit.c: In function 'audit_log_cap_use':
>> kernel/audit.c:1730:2: error: implicit declaration of function 'audit_cgroup_list' [-Werror=implicit-function-declaration]
audit_cgroup_list(ab);
^
cc1: some warnings being treated as errors
vim +/audit_log_cap_use +1713 kernel/audit.c
1707
1708 if (log)
1709 audit_log_format(ab, " cap_fe=%d cap_fver=%x",
1710 name->fcap.fE, name->fcap_ver);
1711 }
1712
> 1713 void audit_log_cap_use(int cap)
1714 {
1715 struct audit_context *context = current->audit_context;
1716 struct audit_buffer *ab;
1717 kuid_t uid;
1718 kgid_t gid;
1719
1720 ab = audit_log_start(context, GFP_KERNEL, AUDIT_CAPABILITY);
1721 audit_log_format(ab, "cap_used=%d", cap);
1722 current_uid_gid(&uid, &gid);
1723 audit_log_format(ab, " pid=%d auid=%u uid=%u gid=%u ses=%u",
1724 task_pid_nr(current),
1725 from_kuid(&init_user_ns, audit_get_loginuid(current)),
1726 from_kuid(&init_user_ns, uid),
1727 from_kgid(&init_user_ns, gid),
1728 audit_get_sessionid(current));
1729 audit_log_format(ab, " cgroups=");
> 1730 audit_cgroup_list(ab);
1731 audit_log_end(ab);
1732 }
1733
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (12626 bytes)
Powered by blists - more mailing lists