linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH 0/4] statx: expose the fs-verity bit
@ 2019-10-29 20:41 Eric Biggers
  2019-10-29 20:41 ` [f2fs-dev] [PATCH 1/4] statx: define STATX_ATTR_VERITY Eric Biggers
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Eric Biggers @ 2019-10-29 20:41 UTC (permalink / raw)
  To: linux-fscrypt
  Cc: Theodore Ts'o, linux-api, linux-f2fs-devel, David Howells,
	linux-fsdevel, Jaegeuk Kim, linux-ext4, 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



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

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

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 20:41 [f2fs-dev] [PATCH 0/4] statx: expose the fs-verity bit Eric Biggers
2019-10-29 20:41 ` [f2fs-dev] [PATCH 1/4] statx: define STATX_ATTR_VERITY Eric Biggers
2019-11-07  1:44   ` Darrick J. Wong
2019-11-07 22:02     ` [f2fs-dev] [man-pages RFC PATCH] statx.2: document STATX_ATTR_VERITY Eric Biggers
2019-11-08  0:47       ` Darrick J. Wong
     [not found]       ` <5DC525E8.4060705@bfs.de>
2019-11-08 19:35         ` Eric Biggers
     [not found]           ` <5DC714DB.9060007@bfs.de>
2019-11-13 20:31             ` Eric Biggers
2019-11-07 22:12     ` [f2fs-dev] [PATCH 1/4] statx: define STATX_ATTR_VERITY Eric Biggers
2019-10-29 20:41 ` [f2fs-dev] [PATCH 2/4] ext4: support STATX_ATTR_VERITY Eric Biggers
2019-10-29 20:41 ` [f2fs-dev] [PATCH 3/4] f2fs: " Eric Biggers
2019-10-29 20:41 ` [f2fs-dev] [PATCH 4/4] docs: fs-verity: mention statx() support Eric Biggers
2019-11-06 21:57 ` [f2fs-dev] [PATCH 0/4] statx: expose the fs-verity bit Eric Biggers
2019-11-13 20:20 ` Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).