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>
This commit is contained in:
Eric Biggers
2019-09-30 14:15:49 -07:00
committed by Eryu Guan
parent 16f52cac08
commit 59c53985cb
3 changed files with 88 additions and 0 deletions
+1
View File
@@ -575,3 +575,4 @@
570 auto quick rw swap
571 auto quick
572 auto quick verity
573 auto quick verity