Files
linux/fs
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
..
2026-01-12 10:55:45 +01:00
2025-11-16 01:35:04 -05:00
2026-01-12 10:55:46 +01:00
2026-01-02 13:43:41 -05:00
2025-11-16 01:35:03 -05:00
2026-01-12 10:55:48 +01:00
2026-01-12 10:55:48 +01:00
2025-11-04 12:36:33 +01:00
2025-11-28 12:42:31 +01:00
2025-09-01 13:08:01 +02:00
2026-01-12 10:55:48 +01:00
2026-01-12 16:52:09 +01:00
2026-01-16 19:21:40 +01:00
2026-01-12 16:52:09 +01:00