Content-Type: multipart/mixed; boundary="===============7584626018468936198==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC v2 19/19] ima: Setup securityfs for IMA namespace Date: Fri, 03 Dec 2021 20:36:30 +0800 Message-ID: <202112032032.cxoYWYDl-lkp@intel.com> In-Reply-To: <20211203023118.1447229-20-stefanb@linux.ibm.com> List-Id: --===============7584626018468936198== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 jmorris-security/next-testing next-20= 211203] [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-Namespac= e-IMA-with-audit-support-in-IMA-ns/20211203-103412 base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integri= ty.git next-integrity config: alpha-randconfig-r015-20211203 (https://download.01.org/0day-ci/arc= hive/20211203/202112032032.cxoYWYDl-lkp(a)intel.com/config) compiler: alpha-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/8766e0181c2639c814f7391fe= aa411d8c767e37b git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Stefan-Berger/ima-Namespace-IMA-wi= th-audit-support-in-IMA-ns/20211203-103412 git checkout 8766e0181c2639c814f7391feaa411d8c767e37b # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dalpha SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): security/inode.c: In function 'securityfs_init_fs_context': >> security/inode.c:69:24: error: 'struct user_namespace' has no member nam= ed 'ima_ns' 69 | if (fc->user_ns->ima_ns->late_fs_init) { | ^~ security/inode.c:70:33: error: 'struct user_namespace' has no member nam= ed 'ima_ns' 70 | rc =3D fc->user_ns->ima_ns->late_fs_init(fc->use= r_ns); | ^~ 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 =3D fc->user_ns->ima_ns->late_fs_init(fc->user_ns); 71 if (rc) 72 return rc; 73 } 74 fc->ops =3D &securityfs_context_ops; 75 return 0; 76 } 77 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7584626018468936198==--