fuse: Add initial support for fs-verity
authorRichard Fung <richardfung@google.com>
Tue, 16 Apr 2024 00:16:39 +0000 (00:16 +0000)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 8 May 2024 07:31:21 +0000 (09:31 +0200)
commit9fe2a036a23ceeac402c4fde8ec37c02ab25f133
tree449ee7a3c794fa3ae53f3f75cbf657b676e5bdee
parent413e8f014c8b848e4ce939156f210df59fbd1c24
fuse: Add initial support for fs-verity

This adds support for the FS_IOC_ENABLE_VERITY and FS_IOC_MEASURE_VERITY
ioctls. The FS_IOC_READ_VERITY_METADATA is missing but from the
documentation, "This is a fairly specialized use case, and most fs-verity
users won’t need this ioctl."

Signed-off-by: Richard Fung <richardfung@google.com>
Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/ioctl.c