Files
twx-linux/arch/mips/kernel
Arnd Bergmann ff53b50bb2 mips: fix compat_sys_lseek syscall
[ Upstream commit 0d5679a0aa ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-27 10:46:10 +02:00
..
2021-04-07 16:11:05 +02:00
2021-03-10 15:18:40 +01:00
2021-02-15 12:23:54 +01:00
2021-03-06 08:43:39 +01:00
2020-07-26 10:18:35 +02:00
2021-04-07 16:11:05 +02:00
2022-08-17 14:24:06 +02:00
2024-03-01 13:21:51 +01:00
2021-01-27 21:49:16 +01:00