linux/arch/parisc
Helge Deller 6431e92fc8 parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode
For all syscalls in 32-bit compat mode on 64-bit kernels the upper
32-bits of the 64-bit registers are zeroed out, so a negative 32-bit
signed value will show up as positive 64-bit signed value.

This behaviour breaks the io_pgetevents_time64() syscall which expects
signed 64-bit values for the "min_nr" and "nr" parameters.
Fix this by switching to the compat_sys_io_pgetevents_time64() syscall,
which uses "compat_long_t" types for those parameters.

Cc: <stable@vger.kernel.org> # v5.1+
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-01 18:43:24 +02:00
..
boot Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
configs parisc: Update 32- and 64-bit defconfigs 2022-05-08 20:01:11 +02:00
include parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI 2022-06-07 13:01:17 +02:00
kernel parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode 2022-08-01 18:43:24 +02:00
lib parisc: Use constants to encode the space registers like SR_KERNEL 2022-03-11 19:49:31 +01:00
math-emu parisc: align '*' in comment in math-emu code 2022-06-26 00:19:27 +02:00
mm parisc: Drop zero variable initialisations in mm/init.c 2022-08-01 18:43:24 +02:00
defpalo.conf
install.sh kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig parisc: Enable ARCH_HAS_STRICT_MODULE_RWX 2022-06-26 12:23:15 +02:00
Kconfig.debug
Makefile parisc: remove arch/parisc/nm 2022-05-29 18:39:35 +09:00