diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-05-29 10:04:46 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-05-31 06:26:10 -0400 |
commit | 4ad769f3c346ec3d458e255548dec26ca5284cf6 (patch) | |
tree | e1d56ac1fc824b53c70ac33588b1877c82684057 | |
parent | e45b2546e23c2d10f8585063a15c745a7603fac9 (diff) |
fuse: Allow fully unprivileged mounts
Now that the fuse and the vfs work is complete. Allow the fuse filesystem
to be mounted by the root user in a user namespace.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
-rw-r--r-- | fs/fuse/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 22c76cf8c2e3..48baa26993f3 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -1222,7 +1222,7 @@ static void fuse_kill_sb_anon(struct super_block *sb) | |||
1222 | static struct file_system_type fuse_fs_type = { | 1222 | static struct file_system_type fuse_fs_type = { |
1223 | .owner = THIS_MODULE, | 1223 | .owner = THIS_MODULE, |
1224 | .name = "fuse", | 1224 | .name = "fuse", |
1225 | .fs_flags = FS_HAS_SUBTYPE, | 1225 | .fs_flags = FS_HAS_SUBTYPE | FS_USERNS_MOUNT, |
1226 | .mount = fuse_mount, | 1226 | .mount = fuse_mount, |
1227 | .kill_sb = fuse_kill_sb_anon, | 1227 | .kill_sb = fuse_kill_sb_anon, |
1228 | }; | 1228 | }; |