linux/fs/verity
Eric Biggers 4dd893d832 fs-verity: implement FS_IOC_MEASURE_VERITY ioctl
Add a function for filesystems to call to implement the
FS_IOC_MEASURE_VERITY ioctl.  This ioctl retrieves the file measurement
that fs-verity calculated for the given file and is enforcing for reads;
i.e., reads that don't match this hash will fail.  This ioctl can be
used for authentication or logging of file measurements in userspace.

See the "FS_IOC_MEASURE_VERITY" section of
Documentation/filesystems/fsverity.rst for the documentation.

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
2019-08-12 19:33:50 -07:00
..
enable.c fs-verity: implement FS_IOC_ENABLE_VERITY ioctl 2019-08-12 19:33:50 -07:00
fsverity_private.h fs-verity: add data verification hooks for ->readpages() 2019-07-28 16:59:16 -07:00
hash_algs.c
init.c fs-verity: add data verification hooks for ->readpages() 2019-07-28 16:59:16 -07:00
Kconfig
Makefile fs-verity: implement FS_IOC_MEASURE_VERITY ioctl 2019-08-12 19:33:50 -07:00
measure.c fs-verity: implement FS_IOC_MEASURE_VERITY ioctl 2019-08-12 19:33:50 -07:00
open.c fs-verity: add data verification hooks for ->readpages() 2019-07-28 16:59:16 -07:00
verify.c fs-verity: add data verification hooks for ->readpages() 2019-07-28 16:59:16 -07:00