kernel-fxtec-pro1x/fs/verity
Eric Biggers ebeb654881 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-09-23 14:11:56 -07:00
..
enable.c fs-verity: implement FS_IOC_ENABLE_VERITY ioctl 2019-09-23 14:11:56 -07:00
fsverity_private.h fs-verity: add data verification hooks for ->readpages() 2019-09-23 14:11:55 -07:00
hash_algs.c
init.c fs-verity: add data verification hooks for ->readpages() 2019-09-23 14:11:55 -07:00
Kconfig
Makefile fs-verity: implement FS_IOC_MEASURE_VERITY ioctl 2019-09-23 14:11:56 -07:00
measure.c fs-verity: implement FS_IOC_MEASURE_VERITY ioctl 2019-09-23 14:11:56 -07:00
open.c fs-verity: add data verification hooks for ->readpages() 2019-09-23 14:11:55 -07:00
verify.c fs-verity: add data verification hooks for ->readpages() 2019-09-23 14:11:55 -07:00