All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:core/entry 20/23] include/linux/entry-common.h:109:undefined reference to `syscall_enter_audit'
@ 2026-07-18  7:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-18  7:19 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: oe-kbuild-all, linux-kernel, x86, Jinjie Ruan

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/entry
head:   39109e76c19bcce2041fa1884dbbb8b01f6f38d2
commit: ff2b9a905930db22494690d219724822db443d7a [20/23] entry: Rework syscall_audit_enter()
config: s390-randconfig-001-20260718 (https://download.01.org/0day-ci/archive/20260718/202607181530.2nx8zb3J-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260718/202607181530.2nx8zb3J-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607181530.2nx8zb3J-lkp@intel.com/

All errors (new ones prefixed by >>):

   s390-linux-ld: arch/s390/kernel/syscall.o: in function `syscall_trace_enter':
>> include/linux/entry-common.h:109:(.noinstr.text+0x2e6): undefined reference to `syscall_enter_audit'


vim +109 include/linux/entry-common.h

    64	
    65	static __always_inline long syscall_trace_enter(struct pt_regs *regs, unsigned long work,
    66							long syscall)
    67	{
    68		/*
    69		 * Handle Syscall User Dispatch.  This must comes first, since
    70		 * the ABI here can be something that doesn't make sense for
    71		 * other syscall_work features.
    72		 */
    73		if (work & SYSCALL_WORK_SYSCALL_USER_DISPATCH) {
    74			if (syscall_user_dispatch(regs))
    75				return -1L;
    76		}
    77	
    78		/*
    79		 * User space got a time slice extension granted and relinquishes
    80		 * the CPU. The work stops the slice timer to avoid an extra round
    81		 * through hrtimer_interrupt().
    82		 */
    83		if (work & SYSCALL_WORK_SYSCALL_RSEQ_SLICE)
    84			rseq_syscall_enter_work(syscall);
    85	
    86		/* Handle ptrace */
    87		if (work & (SYSCALL_WORK_SYSCALL_TRACE | SYSCALL_WORK_SYSCALL_EMU)) {
    88			if (!arch_ptrace_report_syscall_permit_entry(regs) ||
    89			    (work & SYSCALL_WORK_SYSCALL_EMU))
    90				return -1L;
    91	
    92			/* ptrace might have changed work flags */
    93			work = READ_ONCE(current_thread_info()->syscall_work);
    94		}
    95	
    96		/* Do seccomp after ptrace, to catch any tracer changes. */
    97		if (work & SYSCALL_WORK_SECCOMP) {
    98			if (!__seccomp_permit_syscall())
    99				return -1L;
   100		}
   101	
   102		/* Either of the above might have changed the syscall number */
   103		syscall = syscall_get_nr(current, regs);
   104	
   105		if (unlikely(work & SYSCALL_WORK_SYSCALL_TRACEPOINT))
   106			syscall = trace_syscall_enter(regs, syscall);
   107	
   108		if (unlikely(audit_context()))
 > 109			syscall_enter_audit(regs);
   110	
   111		return syscall;
   112	}
   113	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-18  7:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18  7:19 [tip:core/entry 20/23] include/linux/entry-common.h:109:undefined reference to `syscall_enter_audit' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.