Re: [PATCH v2 6/6] Audit: Add record for multiple object contexts

From: kernel test robot
Date: Sun Mar 09 2025 - 10:19:48 EST


Hi Casey,

kernel test robot noticed the following build errors:

[auto build test ERROR on pcmoore-selinux/next]
[also build test ERROR on linus/master v6.14-rc5 next-20250307]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Casey-Schaufler/Audit-Create-audit_stamp-structure/20250308-024950
base: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git next
patch link: https://lore.kernel.org/r/20250307183701.16970-7-casey%40schaufler-ca.com
patch subject: [PATCH v2 6/6] Audit: Add record for multiple object contexts
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20250309/202503092246.du8fixfZ-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250309/202503092246.du8fixfZ-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503092246.du8fixfZ-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: lsm_objctx_cnt
>>> referenced by audit.c:2312 (kernel/audit.c:2312)
>>> vmlinux.o:(audit_log_object_context)
--
>> ld.lld: error: undefined symbol: lsm_active_cnt
>>> referenced by audit.c:2329 (kernel/audit.c:2329)
>>> vmlinux.o:(audit_log_object_context)
>>> referenced by audit.c:2329 (kernel/audit.c:2329)
>>> vmlinux.o:(audit_log_object_context)
--
>> ld.lld: error: undefined symbol: lsm_idlist
>>> referenced by audit.c:2330 (kernel/audit.c:2330)
>>> vmlinux.o:(audit_log_object_context)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki