diff options
| author | 2019-08-20 07:55:16 -0700 | |
|---|---|---|
| committer | 2019-08-20 07:55:16 -0700 | |
| commit | dc617f29dbe5ef0c8ced65ce62c464af1daaab3d (patch) | |
| tree | 3596eb0d334f04f87088c735748bba8e66a71cad /tools/perf/scripts/python | |
| parent | mm: set S_SWAPFILE on blockdev swap devices (diff) | |
| download | linux-rng-dc617f29dbe5ef0c8ced65ce62c464af1daaab3d.tar.xz linux-rng-dc617f29dbe5ef0c8ced65ce62c464af1daaab3d.zip | |
vfs: don't allow writes to swap files
Don't let userspace write to an active swap file because the kernel
effectively has a long term lease on the storage and things could get
seriously corrupted if we let this happen.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
