linux/arch/parisc
Sven Schnelle 6a483e56c1 parisc: entry: set W bit for !compat tasks in syscall_restore_rfi()
commit 5fb1d3ce3e upstream.

When the kernel leaves to userspace via syscall_restore_rfi(), the
W bit is not set in the new PSW. This doesn't cause any problems
because there's no 64 bit userspace for parisc. Simple static binaries
are usually loaded at addresses way below the 32 bit limit so the W bit
doesn't matter.

Fix this by setting the W bit when TIF_32BIT is not set.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-01-19 13:10:01 +01:00
..
boot arch: back to -std=gnu89 in < v5.18 2025-12-07 06:09:15 +09:00
configs configs: remove the obsolete CONFIG_INPUT_POLLDEV 2021-09-08 11:50:28 -07:00
include parisc: don't reference obsolete termio struct for TC* constants 2025-10-19 16:21:46 +02:00
kernel parisc: entry: set W bit for !compat tasks in syscall_restore_rfi() 2026-01-19 13:10:01 +01:00
lib parisc: Add ioread64_lo_hi() and iowrite64_lo_hi() 2022-02-23 12:03:04 +01:00
math-emu parisc: Fix double SIGFPE crash 2025-05-09 09:39:36 +02:00
mm parisc: Fix handling off probe non-access faults 2022-04-08 14:23:56 +02:00
defpalo.conf parisc: switch to gzip-compressed vmlinuz kernel 2013-07-09 22:09:20 +02:00
install.sh parisc: Fix "make install" on newer debian releases 2021-12-08 09:04:55 +01:00
Kbuild parisc: move core-y in arch/parisc/Makefile to arch/parisc/Kbuild 2021-08-30 10:18:25 +02:00
Kconfig Revert "parisc: fix a possible DMA corruption" 2024-12-19 18:07:22 +01:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile parisc: Makefile: fix a typo in palo.conf 2025-08-28 16:24:27 +02:00
nm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00