mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
overlay/013: adjust test expectation to kernel v4.8
Commit 4d0c5ba (vfs: do get_write_access() on upper layer of overlayfs) that was merged for kernel v4.8 changes the behavior of execve+truncate in a subtle way. When file is executed from lower and then truncated, the truncation is allowed, becasue it only affects the size of the copied up file and does not affect the VM mapping of the executed lower file. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
044af9dd66
commit
aa96e42b8d
@@ -69,6 +69,5 @@ $SCRATCH_MNT/test_lower
|
||||
$SCRATCH_MNT/test_upper
|
||||
|
||||
# success, all done
|
||||
echo "Silence is golden"
|
||||
status=0
|
||||
exit
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
QA output created by 013
|
||||
Silence is golden
|
||||
truncate(test_lower) should have failed
|
||||
|
||||
Reference in New Issue
Block a user