All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.18 0/2] Forbid truncate of fsverity files on btrfs
@ 2026-10-06 21:36 Eric Biggers
  2026-10-06 21:36 ` [PATCH 6.18 1/2] fs,fsverity: reject size changes on fsverity files in setattr_prepare Eric Biggers
  2026-10-06 21:36 ` [PATCH 6.18 2/2] fs,fsverity: remove check for fsverity being enabled in setattr_prepare() Eric Biggers
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Biggers @ 2026-10-06 21:36 UTC (permalink / raw)
  To: stable; +Cc: fsverity, Eric Biggers

Backport the fix to forbid truncate(2) of fsverity files on btrfs (and
also the fix for that fix).

Andrey Albershteyn (1):
  fs,fsverity: remove check for fsverity being enabled in
    setattr_prepare()

Christoph Hellwig (1):
  fs,fsverity: reject size changes on fsverity files in setattr_prepare

 fs/attr.c                | 12 +++++++++++-
 fs/ext4/inode.c          |  4 ----
 fs/f2fs/file.c           |  4 ----
 fs/verity/open.c         |  8 --------
 include/linux/fsverity.h | 25 -------------------------
 5 files changed, 11 insertions(+), 42 deletions(-)


base-commit: 725bd2f3c81d54edccb66fead01d4c0c222e2231
-- 
2.56.0


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

end of thread, other threads:[~2026-10-07  6:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-06 21:36 [PATCH 6.18 0/2] Forbid truncate of fsverity files on btrfs Eric Biggers
2026-10-06 21:36 ` [PATCH 6.18 1/2] fs,fsverity: reject size changes on fsverity files in setattr_prepare Eric Biggers
2026-10-07  6:32   ` Patch "fs,fsverity: reject size changes on fsverity files in setattr_prepare" has been added to the 6.18-stable tree gregkh
2026-10-07  6:41     ` sashiko-bot
2026-10-06 21:36 ` [PATCH 6.18 2/2] fs,fsverity: remove check for fsverity being enabled in setattr_prepare() Eric Biggers
2026-10-07  6:32   ` Patch "fs,fsverity: remove check for fsverity being enabled in setattr_prepare()" has been added to the 6.18-stable tree gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.