statx: expose the fs-verity bit
Status from this message: Applied to fscrypt.git#fsverity for 5.5.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | statx: define STATX_ATTR_VERITYinclude/ include/ | +3 | 10 replies | |
| 2/4 | ext4: support STATX_ATTR_VERITYfs/ | +4 | 1 reply | |
| 3/4 | f2fs: support STATX_ATTR_VERITYfs/ | +4 | 0 replies | |
| 4/4 | docs: fs-verity: mention statx() supportDocumentation/ | +8 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Andreas Dilger | Darrick J. Wong |
|---|---|---|
| 1/4 | R-b | A-b |
| 2/4 | R-b | |
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] statx: expose the fs-verity bit
This patchset exposes the verity bit (a.k.a. FS_VERITY_FL) via statx().
This is useful because it allows applications to check whether a file is a verity file without opening it. Opening a verity file can be expensive because the fsverity_info is set up on open, which involves parsing metadata and optionally verifying a cryptographic signature.
This is analogous to how various other bits are exposed through both FS_IOC_GETFLAGS and statx(), e.g. the encrypt bit.
This patchset applies to v5.4-rc5.
Eric Biggers (4):
statx: define STATX_ATTR_VERITY
ext4: support STATX_ATTR_VERITY
f2fs: support STATX_ATTR_VERITY
docs: fs-verity: mention statx() support
Documentation/filesystems/fsverity.rst | 8 ++++++++ fs/ext4/inode.c | 5 ++++- fs/f2fs/file.c | 5 ++++- include/linux/stat.h | 3 ++- include/uapi/linux/stat.h | 2 +- 5 files changed, 19 insertions(+), 4 deletions(-)
Signature · 1 line
2.24.0.rc1.363.gb1bccd3e3d-goog