Files
apfstests/tests/generic/573.out
T
Eric Biggers 59c53985cb 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>
2019-10-13 21:01:41 +08:00

15 lines
442 B
Plaintext

QA output created by 573
# FS_IOC_ENABLE_VERITY doesn't require root
# FS_IOC_ENABLE_VERITY requires write access
Permission denied
# FS_IOC_ENABLE_VERITY requires !append-only
ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Operation not permitted
# FS_IOC_ENABLE_VERITY requires !immutable
ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Operation not permitted
# FS_IOC_MEASURE_VERITY doesn't require root