mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: Add test for CVE-2017-14340
Verify kernel doesn't panic when user attempts to set realtime flags
on non-realtime FS, using kernel compiled with CONFIG_XFS_RT.
Unpatched kernels will panic during this test. Kernels not compiled
with CONFIG_XFS_RT should pass test.
This bug was fixed via commit b31ff3cdf540 ("xfs:
XFS_IS_REALTIME_INODE() should be false if no rt device present") on
the main kernel tree.
[eguan: don't assume fixed position when grepping 't' and add some
comments about why we do this, also remove testfile after test]
Signed-off-by: Richard Wareing <rwareing@fb.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
a21f34f87f
commit
ea817058b0
@@ -428,3 +428,4 @@
|
||||
428 dangerous_fuzzers dangerous_scrub dangerous_online_repair
|
||||
429 dangerous_fuzzers dangerous_scrub dangerous_repair
|
||||
430 dangerous_fuzzers dangerous_scrub dangerous_online_repair
|
||||
431 auto quick dangerous
|
||||
|
||||
Reference in New Issue
Block a user