* security/landlock/ptrace.c:10:1: iwyu: warning: superfluous #include <linux/cred.h>
@ 2021-06-25 17:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-25 17:20 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3115 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: "Mickaël Salaün" <mic@linux.microsoft.com>
CC: James Morris <jamorris@linux.microsoft.com>
CC: Jann Horn <jannh@google.com>
CC: Kees Cook <keescook@chromium.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 44db63d1ad8d71c6932cbe007eb41f31c434d140
commit: afe81f754117dd96853677c5cb815f49abef0ba0 landlock: Add ptrace restrictions
date: 9 weeks ago
:::::: branch date: 21 hours ago
:::::: commit date: 9 weeks ago
config: x86_64-randconfig-b001-20210623 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b259740801d3515810ecc15bf0c24b0d476a1608)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# apt-get install iwyu # include-what-you-use
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=afe81f754117dd96853677c5cb815f49abef0ba0
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout afe81f754117dd96853677c5cb815f49abef0ba0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
iwyu warnings: (new ones prefixed by >>)
>> security/landlock/ptrace.c:10:1: iwyu: warning: superfluous #include <linux/cred.h>
>> security/landlock/ptrace.c:11:1: iwyu: warning: superfluous #include <linux/errno.h>
>> security/landlock/ptrace.c:15:1: iwyu: warning: superfluous #include <linux/sched.h>
>> security/landlock/ptrace.c:21:1: iwyu: warning: superfluous #include "setup.h"
vim +10 security/landlock/ptrace.c
afe81f754117dd Mickaël Salaün 2021-04-22 @10 #include <linux/cred.h>
afe81f754117dd Mickaël Salaün 2021-04-22 @11 #include <linux/errno.h>
afe81f754117dd Mickaël Salaün 2021-04-22 12 #include <linux/kernel.h>
afe81f754117dd Mickaël Salaün 2021-04-22 13 #include <linux/lsm_hooks.h>
afe81f754117dd Mickaël Salaün 2021-04-22 14 #include <linux/rcupdate.h>
afe81f754117dd Mickaël Salaün 2021-04-22 @15 #include <linux/sched.h>
afe81f754117dd Mickaël Salaün 2021-04-22 16
afe81f754117dd Mickaël Salaün 2021-04-22 17 #include "common.h"
afe81f754117dd Mickaël Salaün 2021-04-22 18 #include "cred.h"
afe81f754117dd Mickaël Salaün 2021-04-22 19 #include "ptrace.h"
afe81f754117dd Mickaël Salaün 2021-04-22 20 #include "ruleset.h"
afe81f754117dd Mickaël Salaün 2021-04-22 @21 #include "setup.h"
afe81f754117dd Mickaël Salaün 2021-04-22 22
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 45020 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-25 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 17:20 security/landlock/ptrace.c:10:1: iwyu: warning: superfluous #include <linux/cred.h> kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.