Hi Stefan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on zohar-integrity/next-integrity]
[also build test WARNING on linux/master linus/master v5.16-rc4 next-20211208]
[cannot apply to jmorris-security/next-testing]
[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-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git
next-integrity
config: um-i386_defconfig
(
https://download.01.org/0day-ci/archive/20211209/202112091252.hCpFK6H4-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/0e5d16c2da02e9c61692836edf0b6f7f2...
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/20211209-062017
git checkout 0e5d16c2da02e9c61692836edf0b6f7f227e1867
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from fs/open.c:32:
include/linux/ima.h: In function 'create_ima_ns':
> include/linux/ima.h:263:5: warning: "CONFIG_IMA" is not
defined, evaluates to 0 [-Wundef]
263 | #if CONFIG_IMA
| ^~~~~~~~~~
vim +/CONFIG_IMA +263 include/linux/ima.h
260
261 static inline int create_ima_ns(struct user_namespace *user_ns)
262 {
263 #if CONFIG_IMA
264 user_ns->ima_ns =
get_ima_ns(&init_ima_ns);
265 #endif
266 return 0;
267 }
268
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org