1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/mips/kernel/syscalls
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
..
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
syscall_n32.tbl mseal: wire up mseal syscall 2024-05-23 19:40:26 -07:00
syscall_n64.tbl mseal: wire up mseal syscall 2024-05-23 19:40:26 -07:00
syscall_o32.tbl mips: fix compat_sys_lseek syscall 2024-06-21 10:16:34 +02:00
syscallnr.sh mips: syscalls: define syscall offsets directly in <asm/unistd.h> 2021-06-01 11:17:24 +02:00