generic: test access controls on the fs-verity ioctls
authorEric Biggers <ebiggers@google.com>
Mon, 30 Sep 2019 21:15:49 +0000 (14:15 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 13 Oct 2019 13:01:41 +0000 (21:01 +0800)
commit59c53985cbe6044bfe1dc5e7ab46d392b2079070
tree2b50ded5a41904726813dc10a303c0b1e524d15e
parent16f52cac08a6b2bb74e319846507b26457e03ca3
generic: test access controls on the fs-verity ioctls

Test access controls on the fs-verity ioctls.  FS_IOC_MEASURE_VERITY is
allowed on any file, whereas FS_IOC_ENABLE_VERITY requires write access.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/573 [new file with mode: 0755]
tests/generic/573.out [new file with mode: 0644]
tests/generic/group