Skip to content
Snippets Groups Projects
Commit 6e589291 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatarTheodore Ts'o <tytso@mit.edu>
parent abdc644e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment