fs: Limit sys_mount to only request filesystem modules. (Part 3)
Somehow I failed to add the MODULE_ALIAS_FS for cifs, hostfs, hpfs, squashfs, and udf despite what I thought were my careful checks :( Add them now. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
此提交包含在:
@@ -489,6 +489,7 @@ static struct file_system_type squashfs_fs_type = {
|
||||
.kill_sb = kill_block_super,
|
||||
.fs_flags = FS_REQUIRES_DEV
|
||||
};
|
||||
MODULE_ALIAS_FS("squashfs");
|
||||
|
||||
static const struct super_operations squashfs_super_ops = {
|
||||
.alloc_inode = squashfs_alloc_inode,
|
||||
|
新增問題並參考
封鎖使用者