Guo Ren
e9f457f056
csky: Fixup regs.sr broken in ptrace
...
commit af89ebaa64de726ca0a39bbb0bf0c81a1f43ad50 upstream.
gpr_get() return the entire pt_regs (include sr) to userspace, if we
don't restore the C bit in gpr_set, it may break the ALU result in
that context. So the C flag bit is part of gpr context, that's why
riscv totally remove the C bit in the ISA. That makes sr reg clear
from userspace to supervisor privilege.
Signed-off-by: Guo Ren <[email protected] >
Cc: Al Viro <[email protected] >
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2021-10-20 11:40:12 +02:00
..
alpha
alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
2021-09-30 10:09:26 +02:00
arc
ARC: export clear_user_page() for modules
2021-09-22 12:26:45 +02:00
arm
bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
2021-10-13 10:08:19 +02:00
arm64
arm64: dts: ls1028a: add missing CAN nodes
2021-10-13 10:08:19 +02:00
c6x
csky
csky: Fixup regs.sr broken in ptrace
2021-10-20 11:40:12 +02:00
h8300
hexagon
hexagon: use common DISCARDS macro
2021-07-20 16:10:50 +02:00
ia64
ia64: mca_drv: fix incorrect array size calculation
2021-07-14 16:53:19 +02:00
m68k
m68k: Handle arrivals of multiple signals correctly
2021-10-17 10:42:34 +02:00
microblaze
mips
bpf, mips: Validate conditional branch offsets
2021-10-13 10:08:17 +02:00
nds32
nds32: fix up stack guard gap
2021-07-28 13:31:01 +02:00
nios2
openrisc
openrisc: don't printk() unconditionally
2021-09-22 12:26:24 +02:00
parisc
parisc: Use absolute_pointer() to define PAGE0
2021-09-30 10:09:25 +02:00
powerpc
powerpc/fsl/dts: Fix phy-connection-type for fm1mac3
2021-10-13 10:08:19 +02:00
riscv
RISC-V: Include clone3() on rv32
2021-10-13 10:08:20 +02:00
s390
s390: fix strrchr() implementation
2021-10-20 11:40:12 +02:00
sh
sparc
sparc64: fix pci_iounmap() when CONFIG_PCI is not set
2021-10-09 14:39:49 +02:00
um
um: virtio_uml: fix memory leak on init failures
2021-09-26 14:07:08 +02:00
unicore32
x86
x86/Kconfig: Correct reference to MWINCHIP3D
2021-10-13 10:08:21 +02:00
xtensa
xtensa: call irqchip_init only when CONFIG_USE_OF is selected
2021-10-13 10:08:18 +02:00
.gitignore
Kconfig