]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/verity/enable.c
fs-verity: implement FS_IOC_ENABLE_VERITY ioctl
authorEric Biggers <ebiggers@google.com>
Mon, 22 Jul 2019 16:26:22 +0000 (09:26 -0700)
committerEric Biggers <ebiggers@google.com>
Tue, 13 Aug 2019 02:33:50 +0000 (19:33 -0700)
commit3fda4c617e84c21c8a03b7cc2b3dbfe6c6461592
treef46447d98e4087e1c3b7a7240c44a80b5fd1ed6c
parent8a1d0f9cacc997bedc017056a94f35dc823394ed
fs-verity: implement FS_IOC_ENABLE_VERITY ioctl

Add a function for filesystems to call to implement the
FS_IOC_ENABLE_VERITY ioctl.  This ioctl enables fs-verity on a file.

See the "FS_IOC_ENABLE_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>
fs/verity/Makefile
fs/verity/enable.c [new file with mode: 0644]
include/linux/fsverity.h