linux/arch/mips
Arnd Bergmann 0d5679a0aa mips: fix compat_sys_lseek syscall
This is almost compatible, but passing a negative offset should result
in a EINVAL error, but on mips o32 compat mode would seek to a large
32-bit byte offset.

Use compat_sys_lseek() to correctly sign-extend the argument.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2024-06-21 10:16:34 +02:00
..
alchemy
ath25
ath79
bcm47xx MIPS: BCM47XX: Declare early_tlb_init() static 2024-04-15 10:21:20 +02:00
bcm63xx
bmips mips: bmips: BCM6358: make sure CBR is correctly set 2024-06-11 16:05:24 +02:00
boot just cleanups and fixes 2024-05-20 09:30:33 -07:00
cavium-octeon
cobalt
configs - Core Frameworks 2024-05-22 10:49:54 -07:00
crypto
dec genirq: Convert kstat_irqs to a struct 2024-04-12 17:08:05 +02:00
fw
generic
include MIPS: mipsmtregs: Fix target register for MFTC0 2024-06-21 10:16:15 +02:00
ingenic
jazz change alloc_pages name in dma_map_ops to avoid name conflicts 2024-04-25 20:55:53 -07:00
kernel mips: fix compat_sys_lseek syscall 2024-06-21 10:16:34 +02:00
kvm KVM: delete .change_pte MMU notifier callback 2024-04-11 13:18:27 -04:00
lantiq
lib
loongson2ef
loongson32
loongson64
math-emu
mm The usual shower of singleton fixes and minor series all over MM, 2024-05-19 09:21:03 -07:00
mobileye
mti-malta
n64
net
pci Revert "MIPS: pci: lantiq: restore reset gpio polarity" 2024-06-13 10:17:09 +02:00
pic32
power
ralink
rb532 MIPS: RB532: Declare prom_setup_cmdline() and rb532_gpio_init() static 2024-04-15 10:21:52 +02:00
sgi-ip22
sgi-ip27 MIPS: SGI-IP27: use WARN_ON() output 2024-05-03 14:22:04 +02:00
sgi-ip30
sgi-ip32
sibyte
sni
tools
txx9
vdso Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
Kbuild
Kbuild.platforms
Kconfig mm/treewide: rename CONFIG_HAVE_FAST_GUP to CONFIG_HAVE_GUP_FAST 2024-04-25 20:56:41 -07:00
Kconfig.debug
Makefile
Makefile.postlink