mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
59c53985cb
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>
15 lines
442 B
Plaintext
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
|