Skip to content

Commit 4ad769f

Browse files
ebiedermMiklos Szeredi
authored andcommitted
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" <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
1 parent e45b254 commit 4ad769f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/fuse/inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ static void fuse_kill_sb_anon(struct super_block *sb)
12221222
static struct file_system_type fuse_fs_type = {
12231223
.owner = THIS_MODULE,
12241224
.name = "fuse",
1225-
.fs_flags = FS_HAS_SUBTYPE,
1225+
.fs_flags = FS_HAS_SUBTYPE | FS_USERNS_MOUNT,
12261226
.mount = fuse_mount,
12271227
.kill_sb = fuse_kill_sb_anon,
12281228
};

0 commit comments

Comments
 (0)