summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-08-30 15:44:19 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-09-05 17:56:11 -0700
commit4c482a3f8f8e22a182a91601652a44eaeb61139a (patch)
treebb46cfc445791b5004c446c75ed3e7a407cbad48 /lib/test-string_helpers.c
parent59f04e11d617cf533e62a2c0ecfd02dcd98bc7a2 (diff)
vfs: don't allow writes to swap filesimmutable-swapfiles_2019-09-05
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>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions