summaryrefslogtreecommitdiffstats
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-02-11 01:07:10 -0500
committerTheodore Ts'o <tytso@mit.edu>2019-02-11 01:07:10 -0500
commit6e589291f4b1b700ca12baec5930592a0d51e63c (patch)
treed6c8cb6b4bcf16c569c3e048296411eab08d0b5d /fs/jbd2
parentabdc644e8cbac2e9b19763680e5a7cf9bab2bee7 (diff)
downloadlinux-6e589291f4b1b700ca12baec5930592a0d51e63c.tar.bz2
ext4: disallow files with EXT4_JOURNAL_DATA_FL from EXT4_IOC_SWAP_BOOT
A malicious/clueless root user can use EXT4_IOC_SWAP_BOOT to force a corner casew which can lead to the file system getting corrupted. There's no usefulness to allowing this, so just prohibit this case. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions