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-2020-08-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull entry fix from Thomas Gleixner:
"A single bug fix for the common entry code.

The transcription of the x86 version messed up the reload of the
syscall number from pt_regs after ptrace and seccomp which breaks
syscall number rewriting"

* tag 'core-urgent-2020-08-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
core/entry: Respect syscall number rewrites

+2 -1
+2 -1
kernel/entry/common.c
··· 65 65 66 66 syscall_enter_audit(regs, syscall); 67 67 68 - return ret ? : syscall; 68 + /* The above might have changed the syscall number */ 69 + return ret ? : syscall_get_nr(current, regs); 69 70 } 70 71 71 72 noinstr long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall)