From: kbuild test robot <lkp@intel.com>
To: Salvatore Mesoraca <s.mesoraca16@gmail.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org,
kernel-hardening@lists.openwall.com,
Salvatore Mesoraca <s.mesoraca16@gmail.com>,
Brad Spengler <spender@grsecurity.net>,
PaX Team <pageexec@freemail.hu>,
Casey Schaufler <casey@schaufler-ca.com>,
Kees Cook <keescook@chromium.org>,
James Morris <james.l.morris@oracle.com>,
"Serge E. Hallyn" <serge@hallyn.com>,
linux-usb@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH 03/11] Creation of "usb_device_auth" LSM hook
Date: Tue, 13 Jun 2017 09:15:36 +0800 [thread overview]
Message-ID: <201706130839.2rJO1rou%fengguang.wu@intel.com> (raw)
In-Reply-To: <1497286620-15027-4-git-send-email-s.mesoraca16@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3630 bytes --]
Hi Salvatore,
[auto build test WARNING on security/next]
[also build test WARNING on v4.12-rc5]
[cannot apply to next-20170609]
[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/Salvatore-Mesoraca/S-A-R-A-Documentation/20170613-050631
base: https://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next
config: cris-allyesconfig (attached as .config)
compiler: cris-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=cris
All warnings (new ones prefixed by >>):
>> security/sara/securityfs.c:24:0: warning: "STR" redefined
#define STR(x) STR_HELPER(x)
In file included from arch/cris/include/asm/irq.h:4:0,
from include/linux/irq.h:26,
from include/asm-generic/hardirq.h:12,
from ./arch/cris/include/generated/asm/hardirq.h:1,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from include/linux/usb.h:15,
from include/linux/security.h:33,
from security/sara/securityfs.c:17:
arch/cris/include/arch-v10/arch/irq.h:81:0: note: this is the location of the previous definition
#define STR(x) __STR(x)
vim +/STR +24 security/sara/securityfs.c
4c272b9a Salvatore Mesoraca 2017-06-12 8 * published by the Free Software Foundation.
4c272b9a Salvatore Mesoraca 2017-06-12 9 *
4c272b9a Salvatore Mesoraca 2017-06-12 10 */
4c272b9a Salvatore Mesoraca 2017-06-12 11
4c272b9a Salvatore Mesoraca 2017-06-12 12 #include <linux/ctype.h>
4c272b9a Salvatore Mesoraca 2017-06-12 13 #include <linux/seq_file.h>
4c272b9a Salvatore Mesoraca 2017-06-12 14 #include <linux/uaccess.h>
4c272b9a Salvatore Mesoraca 2017-06-12 15 #include <linux/mm.h>
4c272b9a Salvatore Mesoraca 2017-06-12 16 #include <linux/spinlock.h>
4c272b9a Salvatore Mesoraca 2017-06-12 17 #include <linux/security.h>
4c272b9a Salvatore Mesoraca 2017-06-12 18
4c272b9a Salvatore Mesoraca 2017-06-12 19 #include "include/sara.h"
4c272b9a Salvatore Mesoraca 2017-06-12 20 #include "include/utils.h"
4c272b9a Salvatore Mesoraca 2017-06-12 21 #include "include/securityfs.h"
4c272b9a Salvatore Mesoraca 2017-06-12 22
4c272b9a Salvatore Mesoraca 2017-06-12 23 #define STR_HELPER(x) #x
4c272b9a Salvatore Mesoraca 2017-06-12 @24 #define STR(x) STR_HELPER(x)
4c272b9a Salvatore Mesoraca 2017-06-12 25
4c272b9a Salvatore Mesoraca 2017-06-12 26 static struct dentry *fs_root;
4c272b9a Salvatore Mesoraca 2017-06-12 27
4c272b9a Salvatore Mesoraca 2017-06-12 28 static inline bool check_config_write_access(void)
4c272b9a Salvatore Mesoraca 2017-06-12 29 {
4c272b9a Salvatore Mesoraca 2017-06-12 30 if (unlikely(sara_config_locked && !capable(CAP_MAC_ADMIN))) {
4c272b9a Salvatore Mesoraca 2017-06-12 31 pr_warn("config write access blocked.\n");
4c272b9a Salvatore Mesoraca 2017-06-12 32 return false;
:::::: The code at line 24 was first introduced by commit
:::::: 4c272b9af7b3b969359f7c0dc41fd2a8a03be9fc S.A.R.A. framework creation
:::::: TO: Salvatore Mesoraca <s.mesoraca16@gmail.com>
:::::: CC: 0day robot <fengguang.wu@intel.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/gzip, Size: 42623 bytes --]
next prev parent reply other threads:[~2017-06-13 1:16 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-12 16:56 [PATCH 00/11] S.A.R.A. a new stacked LSM Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 01/11] S.A.R.A. Documentation Salvatore Mesoraca
2017-06-12 17:49 ` [kernel-hardening] " Jann Horn
2017-06-13 7:43 ` Salvatore Mesoraca
2017-06-27 22:51 ` Kees Cook
2017-06-27 22:54 ` Kees Cook
2017-07-04 10:12 ` Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 02/11] S.A.R.A. framework creation Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 03/11] Creation of "usb_device_auth" LSM hook Salvatore Mesoraca
2017-06-12 17:35 ` Krzysztof Opasiak
2017-06-13 7:47 ` Salvatore Mesoraca
2017-06-12 19:38 ` Greg Kroah-Hartman
2017-06-13 7:50 ` Salvatore Mesoraca
2017-06-12 21:31 ` Casey Schaufler
2017-06-13 7:51 ` Salvatore Mesoraca
2017-06-13 1:15 ` kbuild test robot [this message]
2017-06-13 3:11 ` kbuild test robot
2017-06-12 16:56 ` [PATCH 04/11] S.A.R.A. USB Filtering Salvatore Mesoraca
2017-06-20 7:07 ` Pavel Machek
2017-06-20 7:53 ` Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 05/11] Creation of "check_vmflags" LSM hook Salvatore Mesoraca
2017-06-12 21:31 ` Casey Schaufler
2017-06-13 7:55 ` Salvatore Mesoraca
2017-06-13 6:34 ` Christoph Hellwig
2017-06-13 7:52 ` Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 06/11] S.A.R.A. cred blob management Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 07/11] S.A.R.A. WX Protection Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 08/11] Creation of "pagefault_handler_x86" LSM hook Salvatore Mesoraca
2017-06-12 17:32 ` Thomas Gleixner
2017-06-13 7:41 ` Salvatore Mesoraca
2017-06-12 16:56 ` [PATCH 09/11] Trampoline emulation Salvatore Mesoraca
2017-06-13 0:02 ` kbuild test robot
2017-06-12 16:56 ` [PATCH 10/11] Allowing for stacking procattr support in S.A.R.A Salvatore Mesoraca
2017-06-12 16:57 ` [PATCH 11/11] S.A.R.A. WX Protection procattr interface Salvatore Mesoraca
2017-07-09 19:35 ` [kernel-hardening] [PATCH 00/11] S.A.R.A. a new stacked LSM Mickaël Salaün
2017-07-10 7:59 ` Salvatore Mesoraca
2017-07-10 23:40 ` Mickaël Salaün
2017-07-11 16:58 ` Salvatore Mesoraca
2017-07-11 17:49 ` Matt Brown
2017-07-11 19:31 ` Mimi Zohar
2017-07-13 12:39 ` Matt Brown
2017-07-13 15:19 ` Mimi Zohar
2017-07-13 19:51 ` Serge E. Hallyn
2017-07-13 22:33 ` Matt Brown
2017-07-24 0:58 ` Casey Schaufler
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=201706130839.2rJO1rou%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=casey@schaufler-ca.com \
--cc=gregkh@linuxfoundation.org \
--cc=james.l.morris@oracle.com \
--cc=kbuild-all@01.org \
--cc=keescook@chromium.org \
--cc=kernel-hardening@lists.openwall.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pageexec@freemail.hu \
--cc=s.mesoraca16@gmail.com \
--cc=serge@hallyn.com \
--cc=spender@grsecurity.net \
/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®