public inbox for linux-api@vger.kernel.org
 help / color / mirror / Atom feed
* fix architecture-specific compat_ftruncate64 implementations
@ 2026-03-23  7:01 Christoph Hellwig
  2026-03-23  7:01 ` [PATCH 1/3] fs: fix archiecture-specific compat_ftruncate64 Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Christoph Hellwig @ 2026-03-23  7:01 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner
  Cc: Jan Kara, x86, linux-arm-kernel, linux-mips, linux-parisc,
	linuxppc-dev, sparclinux, linux-fsdevel, linux-api

Hi all,

this series fixes a really old bug found by code inspection, where the
architecture-specific 32-bit compat ftruncate64 implementations enforce
the non-LFS file size limit unless opened with O_LARGEFILE.

Diffstat:
 arch/arm64/kernel/sys32.c       |    2 +-
 arch/mips/kernel/linux32.c      |    2 +-
 arch/parisc/kernel/sys_parisc.c |    4 ++--
 arch/powerpc/kernel/sys_ppc32.c |    2 +-
 arch/sparc/kernel/sys_sparc32.c |    2 +-
 arch/x86/kernel/sys_ia32.c      |    3 ++-
 fs/internal.h                   |    3 +--
 fs/open.c                       |   40 +++++++++++++++++++---------------------
 include/linux/syscalls.h        |   16 +++-------------
 io_uring/truncate.c             |    2 +-
 10 files changed, 32 insertions(+), 44 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-23 11:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-23  7:01 fix architecture-specific compat_ftruncate64 implementations Christoph Hellwig
2026-03-23  7:01 ` [PATCH 1/3] fs: fix archiecture-specific compat_ftruncate64 Christoph Hellwig
2026-03-23 10:27   ` Jan Kara
2026-03-23  7:01 ` [PATCH 2/3] fs: pass on FTRUNCATE_* flags to do_truncate Christoph Hellwig
2026-03-23 10:28   ` Jan Kara
2026-03-23  7:01 ` [PATCH 3/3] fs: remove do_sys_truncate Christoph Hellwig
2026-03-23 10:31   ` Jan Kara
2026-03-23 11:44 ` fix architecture-specific compat_ftruncate64 implementations Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox