* Re: [RFC v2 19/19] ima: Setup securityfs for IMA namespace
[not found] <20211203023118.1447229-20-stefanb@linux.ibm.com>
@ 2021-12-03 11:04 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-03 11:04 UTC (permalink / raw)
To: Stefan Berger; +Cc: llvm, kbuild-all
Hi Stefan,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on zohar-integrity/next-integrity]
[also build test ERROR on linus/master v5.16-rc3]
[cannot apply to pcmoore-selinux/next next-20211203]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Stefan-Berger/ima-Namespace-IMA-with-audit-support-in-IMA-ns/20211203-103412
base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-integrity
config: mips-buildonly-randconfig-r002-20211203 (https://download.01.org/0day-ci/archive/20211203/202112031932.qCorYl4u-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1e328b06c15273edf4a40a27ca24931b5efb3a87)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/0day-ci/linux/commit/8766e0181c2639c814f7391feaa411d8c767e37b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Stefan-Berger/ima-Namespace-IMA-with-audit-support-in-IMA-ns/20211203-103412
git checkout 8766e0181c2639c814f7391feaa411d8c767e37b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> security/inode.c:69:19: error: no member named 'ima_ns' in 'struct user_namespace'
if (fc->user_ns->ima_ns->late_fs_init) {
~~~~~~~~~~~ ^
security/inode.c:70:21: error: no member named 'ima_ns' in 'struct user_namespace'
rc = fc->user_ns->ima_ns->late_fs_init(fc->user_ns);
~~~~~~~~~~~ ^
2 errors generated.
vim +69 security/inode.c
64
65 static int securityfs_init_fs_context(struct fs_context *fc)
66 {
67 int rc;
68
> 69 if (fc->user_ns->ima_ns->late_fs_init) {
70 rc = fc->user_ns->ima_ns->late_fs_init(fc->user_ns);
71 if (rc)
72 return rc;
73 }
74 fc->ops = &securityfs_context_ops;
75 return 0;
76 }
77
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-03 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20211203023118.1447229-20-stefanb@linux.ibm.com>
2021-12-03 11:04 ` [RFC v2 19/19] ima: Setup securityfs for IMA namespace kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).