Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ad769f3 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Miklos Szeredi
Browse files

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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent e45b2546
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1222,7 +1222,7 @@ static void fuse_kill_sb_anon(struct super_block *sb)
static struct file_system_type fuse_fs_type = {
static struct file_system_type fuse_fs_type = {
	.owner		= THIS_MODULE,
	.owner		= THIS_MODULE,
	.name		= "fuse",
	.name		= "fuse",
	.fs_flags	= FS_HAS_SUBTYPE,
	.fs_flags	= FS_HAS_SUBTYPE | FS_USERNS_MOUNT,
	.mount		= fuse_mount,
	.mount		= fuse_mount,
	.kill_sb	= fuse_kill_sb_anon,
	.kill_sb	= fuse_kill_sb_anon,
};
};