linux/arch/sh/kernel
Michael Karcher 5fc02e8d1b sh: Fix validation of system call number
[ Upstream commit 04a8a3d0a7 ]

The slow path for traced system call entries accessed a wrong memory
location to get the number of the maximum allowed system call number.
Renumber the numbered "local" label for the correct location to avoid
collisions with actual local labels.

Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Fixes: f3a8308864 ("sh: Add a few missing irqflags tracing markers.")
Signed-off-by: Rich Felker <dalias@libc.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-05 09:59:46 +02:00
..
cpu signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
syscalls arch: mark syscall number 435 reserved for clone3 2019-07-15 00:39:33 +02:00
vsyscall sh: vsyscall: drop unnecessary cc-ldoption 2019-05-18 11:29:01 +09:00
.gitignore
Makefile
asm-offsets.c
crash_dump.c
debugtraps.S
disassemble.c sh: kernel: disassemble: Mark expected switch fall-throughs 2019-08-11 16:15:16 -05:00
dma-coherent.c
dumpstack.c
dwarf.c
entry-common.S sh: Fix validation of system call number 2020-08-05 09:59:46 +02:00
ftrace.c
head_32.S
head_64.S
hw_breakpoint.c sh: kernel: hw_breakpoint: Fix missing break in switch statement 2019-08-11 16:15:16 -05:00
idle.c
io.c
io_trapped.c
iomap.c
ioport.c
irq.c
irq_32.c
irq_64.c
kdebugfs.c sh: no need to check return value of debugfs_create functions 2019-06-03 15:39:40 +02:00
kgdb.c
kprobes.c arch/sh: Check for kprobe trap number before trying to handle a kprobe trap 2019-06-26 19:11:13 +09:00
machine_kexec.c
machvec.c
module.c
nmi_debug.c
perf_callchain.c
perf_event.c
process.c
process_32.c
process_64.c
ptrace.c
ptrace_32.c
ptrace_64.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
reboot.c
relocate_kernel.S
return_address.c
setup.c
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
signal_64.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
smp.c
stacktrace.c sh/stacktrace: Remove the pointless ULONG_MAX marker 2019-04-14 19:58:28 +02:00
swsusp.c
sys_sh.c
sys_sh32.c
syscalls_32.S
syscalls_64.S
time.c
topology.c
traps.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
traps_32.c signal: Remove the task parameter from force_sig_fault 2019-05-29 09:31:43 -05:00
traps_64.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
unwinder.c
vmlinux.lds.S