| commit | 3e332b9ad3115ea04ab68628461dc36b97d1a4b5 | [log] [tgz] |
|---|---|---|
| author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Aug 30 15:45:28 2019 -0700 |
| committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Sep 23 18:20:42 2019 -0700 |
| tree | 30116f3aee9e5e107658064690b498b3bddb1529 | |
| parent | 61a480065899270ecca0de13a75606340fd0ab63 [diff] |
generic: check that we can't write to swap files 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. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>