From: kbuild test robot <lkp@intel.com>
To: Casey Schaufler <casey@schaufler-ca.com>
Cc: kbuild-all@01.org, LSM <linux-security-module@vger.kernel.org>,
James Morris <jmorris@namei.org>,
John Johansen <john.johansen@canonical.com>,
Stephen Smalley <sds@tycho.nsa.gov>,
Paul Moore <paul@paul-moore.com>,
Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
Kees Cook <keescook@chromium.org>,
LKLM <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] LSM: module hierarchy in /proc/.../attr
Date: Thu, 9 Jun 2016 06:49:44 +0800 [thread overview]
Message-ID: <201606090641.IDXIrFq9%fengguang.wu@intel.com> (raw)
In-Reply-To: <3fb59e68-4448-84fd-dcbd-ed0b1731096a@schaufler-ca.com>
[-- Attachment #1: Type: text/plain, Size: 2254 bytes --]
Hi,
[auto build test ERROR on security/next]
[also build test ERROR on v4.7-rc2 next-20160608]
[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/Casey-Schaufler/LSM-module-hierarchy-in-proc-attr/20160609-055140
base: https://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
security/loadpin/loadpin.c: In function 'loadpin_add_hooks':
>> security/loadpin/loadpin.c:185:2: error: too few arguments to function 'security_add_hooks'
security_add_hooks(loadpin_hooks, ARRAY_SIZE(loadpin_hooks));
^~~~~~~~~~~~~~~~~~
In file included from security/loadpin/loadpin.c:23:0:
include/linux/lsm_hooks.h:1860:13: note: declared here
extern void security_add_hooks(struct security_hook_list *hooks, int count,
^~~~~~~~~~~~~~~~~~
vim +/security_add_hooks +185 security/loadpin/loadpin.c
9b091556 Kees Cook 2016-04-20 179 LSM_HOOK_INIT(kernel_read_file, loadpin_read_file),
9b091556 Kees Cook 2016-04-20 180 };
9b091556 Kees Cook 2016-04-20 181
9b091556 Kees Cook 2016-04-20 182 void __init loadpin_add_hooks(void)
9b091556 Kees Cook 2016-04-20 183 {
9b091556 Kees Cook 2016-04-20 184 pr_info("ready to pin (currently %sabled)", enabled ? "en" : "dis");
9b091556 Kees Cook 2016-04-20 @185 security_add_hooks(loadpin_hooks, ARRAY_SIZE(loadpin_hooks));
9b091556 Kees Cook 2016-04-20 186 }
9b091556 Kees Cook 2016-04-20 187
9b091556 Kees Cook 2016-04-20 188 /* Should not be mutable after boot, so not listed in sysfs (perm == 0). */
:::::: The code at line 185 was first introduced by commit
:::::: 9b091556a073a9f5f93e2ad23d118f45c4796a84 LSM: LoadPin for kernel file loading restrictions
:::::: TO: Kees Cook <keescook@chromium.org>
:::::: CC: James Morris <james.l.morris@oracle.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 54751 bytes --]
next prev parent reply other threads:[~2016-06-08 23:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 21:49 Casey Schaufler
2016-06-08 22:49 ` kbuild test robot [this message]
2016-06-08 22:56 ` kbuild test robot
2016-06-09 17:18 ` [PATCH v2] " Casey Schaufler
2016-06-09 18:43 ` [PATCH] " Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201606090641.IDXIrFq9%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=casey@schaufler-ca.com \
--cc=jmorris@namei.org \
--cc=john.johansen@canonical.com \
--cc=kbuild-all@01.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=sds@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®