Skip to content

Forbid truncate of fsverity files on btrfs

Eric Biggers fsverity stable 1 version Applied

Status from this message: Queued the series for 6.12, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2fs,fsverity: reject size changes on fsverity files in setattr_preparefs/attr.c fs/ext4/inode.c fs/f2fs/file.c +2 more+11 -420 replies
2/2fs,fsverity: remove check for fsverity being enabled in setattr_prepare()fs/attr.c+1 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan KaraDarrick J. WongChristoph Hellwig
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 6.12 0/2] Forbid truncate of fsverity files on btrfs

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: 7aba70ab2e8d8ab3cd45abcaa15e1119a00dc42a

Signature · 1 line
2.56.0