fs-verity: add UAPI header
authorEric Biggers <ebiggers@google.com>
Mon, 22 Jul 2019 16:26:20 +0000 (09:26 -0700)
committerEric Biggers <ebiggers@google.com>
Sun, 28 Jul 2019 23:59:16 +0000 (16:59 -0700)
commit085771ec14b9bdb843fe9283d4703ced395d1b0b
tree30c9c6ae14c63e2f6539286f8fca4607dfb43442
parentc9570b2ced0305ad2e69ff57012641c584bfa2a9
fs-verity: add UAPI header

Add the UAPI header for fs-verity, including two ioctls:

- FS_IOC_ENABLE_VERITY
- FS_IOC_MEASURE_VERITY

These ioctls are documented in the "User API" section of
Documentation/filesystems/fsverity.rst.

Examples of using these ioctls can be found in fsverity-utils
(https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git).

I've also written xfstests that test these ioctls
(https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/xfstests-dev.git/log/?h=fsverity).

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Documentation/ioctl/ioctl-number.rst
include/uapi/linux/fsverity.h [new file with mode: 0644]