TencentOS-kernel/arch
Michael Karcher 37081967a0 sh: Fix validation of system call number
[ Upstream commit 04a8a3d0a73f51c7c2da84f494db7ec1df230e69 ]

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: f3a8308864f920d2 ("sh: Add a few missing irqflags tracing markers.")
Signed-off-by: Rich Felker <dalias@libc.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-16 16:32:50 +08:00
..
alpha scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2021-03-16 16:31:54 +08:00
arc ARC: elf: use right ELF_ARCH 2021-03-16 16:31:39 +08:00
arm ARM: dts: armada-38x: fix NETA lockup when repeatedly switching speeds 2021-03-16 16:32:49 +08:00
arm64 arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP 2021-03-16 16:32:33 +08:00
c6x Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
csky csky: Fixup abiv2 syscall_trace break a4 & a5 2021-03-16 16:28:56 +08:00
h8300 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
hexagon hexagon: define ioremap_uc 2021-03-16 16:27:29 +08:00
ia64 scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2021-03-16 16:31:54 +08:00
m68k scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2021-03-16 16:31:54 +08:00
microblaze Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mips irqdomain/treewide: Keep firmware node unconditionally allocated 2021-03-16 16:32:20 +08:00
nds32 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
nios2 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
openrisc openrisc: Fix issue with argument clobbering for clone/fork 2021-03-16 16:30:27 +08:00
parisc parisc: Add atomic64_set_release() define to avoid CPU soft lockups 2021-03-16 16:32:39 +08:00
powerpc powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size 2021-03-16 16:32:13 +08:00
riscv RISC-V: Upgrade smp_mb__after_spinlock() to iorw,iorw 2021-03-16 16:32:34 +08:00
s390 s390/maccess: add no DAT mode to kernel_write 2021-03-16 16:31:41 +08:00
sh sh: Fix validation of system call number 2021-03-16 16:32:50 +08:00
sparc scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2021-03-16 16:31:54 +08:00
um um: ensure `make ARCH=um mrproper` removes arch/$(SUBARCH)/include/generated/ 2021-03-16 16:27:11 +08:00
unicore32 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
x86 x86, vmlinux.lds: Page-align end of ..page_aligned sections 2021-03-16 16:32:39 +08:00
xtensa xtensa: update *pos in cpuinfo_op.next 2021-03-16 16:32:19 +08:00
.gitignore Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Kconfig Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00