Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'core_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull syscall tracing fix from Borislav Petkov:
"Fix the seccomp syscall rewriting so that trace and audit see the
rewritten syscall number, from Kees Cook"

* tag 'core_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
core/entry: Report syscall correctly for trace and audit

+4 -2
+4 -2
kernel/entry/common.c
··· 60 60 return ret; 61 61 } 62 62 63 + /* Either of the above might have changed the syscall number */ 64 + syscall = syscall_get_nr(current, regs); 65 + 63 66 if (unlikely(ti_work & _TIF_SYSCALL_TRACEPOINT)) 64 67 trace_sys_enter(regs, syscall); 65 68 66 69 syscall_enter_audit(regs, syscall); 67 70 68 - /* The above might have changed the syscall number */ 69 - return ret ? : syscall_get_nr(current, regs); 71 + return ret ? : syscall; 70 72 } 71 73 72 74 static __always_inline long