Files
linux/arch/mips/kernel
Christoph Hellwig e43dce8a0b fs: fix archiecture-specific compat_ftruncate64
The "small" argument to do_sys_ftruncate indicates if > 32-bit size
should be reject, but all the arch-specific compat ftruncate64
implementations get this wrong.  Merge do_sys_ftruncate and
ksys_ftruncate, replace the integer as boolean small flag with a
descriptive one about LFS semantics, and use it correctly in the
architecture-specific ftruncate64 implementations.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Fixes: 3dd681d944 ("arm64: 32-bit (compat) applications support")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260323070205.2939118-2-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2026-03-23 12:41:57 +01:00
..
2021-04-07 16:11:05 +02:00
2024-10-23 18:10:24 +02:00
2025-08-29 22:34:31 +02:00
2018-10-31 08:54:16 -07:00
2022-03-01 10:07:22 +01:00
2025-01-11 12:32:12 +01:00
2025-04-27 10:12:03 +02:00
2022-03-01 10:07:22 +01:00
2021-02-15 12:23:54 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2022-05-19 19:30:31 +02:00
2024-03-07 17:18:50 +01:00
2023-12-10 17:21:38 -08:00
2023-12-10 17:21:38 -08:00
2023-06-09 10:34:14 +02:00
2023-12-10 17:21:38 -08:00
2020-05-07 11:55:47 +02:00