diff options
| author | Arnd Bergmann <[email protected]> | 2024-06-20 16:23:04 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2024-06-21 08:16:34 +0000 |
| commit | 0d5679a0aae2d8cda72169452c32e5cb88a7ab33 (patch) | |
| tree | 40c286154322b524d0770f72bb29f05632350bcf /rust/helpers.c | |
| parent | MIPS: mipsmtregs: Fix target register for MFTC0 (diff) | |
| download | kernel-0d5679a0aae2d8cda72169452c32e5cb88a7ab33.tar.gz kernel-0d5679a0aae2d8cda72169452c32e5cb88a7ab33.zip | |
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 <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
