All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] statx: expose the fs-verity bit
@ 2019-10-29 20:41 ` Eric Biggers
  0 siblings, 0 replies; 44+ messages in thread
From: Eric Biggers @ 2019-10-29 20:41 UTC (permalink / raw)
  To: linux-fscrypt
  Cc: linux-fsdevel, linux-ext4, linux-f2fs-devel, linux-api,
	David Howells, Theodore Ts'o, Jaegeuk Kim, Victor Hsieh

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(-)

-- 
2.24.0.rc1.363.gb1bccd3e3d-goog


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

end of thread, other threads:[~2019-11-13 20:31 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 20:41 [PATCH 0/4] statx: expose the fs-verity bit Eric Biggers
2019-10-29 20:41 ` [f2fs-dev] " Eric Biggers
2019-10-29 20:41 ` Eric Biggers
2019-10-29 20:41 ` [PATCH 1/4] statx: define STATX_ATTR_VERITY Eric Biggers
2019-10-29 20:41   ` [f2fs-dev] " Eric Biggers
2019-10-29 20:41   ` Eric Biggers
2019-10-30 18:26   ` Andreas Dilger
2019-11-07  1:44   ` Darrick J. Wong
2019-11-07  1:44     ` [f2fs-dev] " Darrick J. Wong
2019-11-07  1:44     ` Darrick J. Wong
2019-11-07  2:05     ` Andreas Dilger
2019-11-07 22:02     ` [man-pages RFC PATCH] statx.2: document STATX_ATTR_VERITY Eric Biggers
2019-11-07 22:02       ` [f2fs-dev] " Eric Biggers
2019-11-07 22:02       ` Eric Biggers
2019-11-08  0:47       ` Darrick J. Wong
2019-11-08  0:47         ` [f2fs-dev] " Darrick J. Wong
2019-11-08  0:47         ` Darrick J. Wong
2019-11-08  8:23       ` walter harms
2019-11-08 19:35         ` Eric Biggers
2019-11-08 19:35           ` [f2fs-dev] " Eric Biggers
2019-11-08 19:35           ` Eric Biggers
2019-11-09 19:34           ` walter harms
2019-11-13 20:31             ` Eric Biggers
2019-11-13 20:31               ` [f2fs-dev] " Eric Biggers
2019-11-13 20:31               ` Eric Biggers
2019-11-07 22:12     ` [PATCH 1/4] statx: define STATX_ATTR_VERITY Eric Biggers
2019-11-07 22:12       ` [f2fs-dev] " Eric Biggers
2019-11-07 22:12       ` Eric Biggers
2019-10-29 20:41 ` [PATCH 2/4] ext4: support STATX_ATTR_VERITY Eric Biggers
2019-10-29 20:41   ` [f2fs-dev] " Eric Biggers
2019-10-29 20:41   ` Eric Biggers
2019-10-30 18:27   ` Andreas Dilger
2019-10-29 20:41 ` [PATCH 3/4] f2fs: " Eric Biggers
2019-10-29 20:41   ` [f2fs-dev] " Eric Biggers
2019-10-29 20:41   ` Eric Biggers
2019-10-29 20:41 ` [PATCH 4/4] docs: fs-verity: mention statx() support Eric Biggers
2019-10-29 20:41   ` [f2fs-dev] " Eric Biggers
2019-10-29 20:41   ` Eric Biggers
2019-11-06 21:57 ` [PATCH 0/4] statx: expose the fs-verity bit Eric Biggers
2019-11-06 21:57   ` [f2fs-dev] " Eric Biggers
2019-11-06 21:57   ` Eric Biggers
2019-11-13 20:20 ` Eric Biggers
2019-11-13 20:20   ` [f2fs-dev] " Eric Biggers
2019-11-13 20:20   ` Eric Biggers

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.