From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7282495607069503446==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC v2 06/19] ima: Move policy related variables into ima_namespace Date: Sat, 04 Dec 2021 00:50:33 +0800 Message-ID: <202112040013.pnUZvZpu-lkp@intel.com> In-Reply-To: <20211203023118.1447229-7-stefanb@linux.ibm.com> List-Id: --===============7282495607069503446== 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 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-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-r023-20211203 (https://download.01.org/0day-ci/arc= hive/20211204/202112040013.pnUZvZpu-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/6fff42fbf8db50ebac464e2fa= 624ec568b60b784 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 6fff42fbf8db50ebac464e2fa624ec568b60b784 # 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 security/integrity/ima/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): security/integrity/ima/ima_init.c: In function 'ima_load_x509': >> security/integrity/ima/ima_init.c:107:27: error: 'ima_policy_flag' undec= lared (first use in this function); did you mean 'ima_policy_show'? 107 | int unset_flags =3D ima_policy_flag & IMA_APPRAISE; | ^~~~~~~~~~~~~~~ | ima_policy_show security/integrity/ima/ima_init.c:107:27: note: each undeclared identifi= er is reported only once for each function it appears in vim +107 security/integrity/ima/ima_init.c 3323eec921efd8 Mimi Zohar 2009-02-04 103 = fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 104 #ifdef CONFIG_IMA_LOAD_X509 fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 105 void __init ima_load_x509(v= oid) fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 106 { fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 @107 int unset_flags =3D ima_po= licy_flag & IMA_APPRAISE; fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 108 = fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 109 ima_policy_flag &=3D ~unse= t_flags; a18d0cbfabd1d1 Dmitry Kasatkin 2014-11-26 110 integrity_load_x509(INTEGR= ITY_KEYRING_IMA, CONFIG_IMA_X509_PATH); aa2ead71d9daa1 Roberto Sassu 2021-05-14 111 = aa2ead71d9daa1 Roberto Sassu 2021-05-14 112 /* load also EVM key to av= oid appraisal */ aa2ead71d9daa1 Roberto Sassu 2021-05-14 113 evm_load_x509(); aa2ead71d9daa1 Roberto Sassu 2021-05-14 114 = fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 115 ima_policy_flag |=3D unset= _flags; fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 116 } fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 117 #endif fd5f4e9054acbf Dmitry Kasatkin 2014-11-05 118 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7282495607069503446==--