mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
db8feee949
While active, the media backing a swap file is leased to the kernel. Userspace has no business writing to it. Make sure we can't do this. The two kernel patches titled as below should fix the bug: mm: set S_SWAPFILE on blockdev swap devices vfs: don't allow writes to swap files Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
13 lines
231 B
Plaintext
13 lines
231 B
Plaintext
QA output created by 570
|
|
verb 1
|
|
pwrite: Text file busy
|
|
verb 2
|
|
mmap: Text file busy
|
|
verb 3
|
|
Caught signal 7, terminating...
|
|
verb 4
|
|
pwrite: Text file busy
|
|
pwrite: Text file busy
|
|
mmap: Text file busy
|
|
no mapped regions, try 'help mmap'
|