git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45b254
)
fuse: Allow fully unprivileged mounts
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 29 May 2018 14:04:46 +0000
(09:04 -0500)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Thu, 31 May 2018 10:26:10 +0000
(12:26 +0200)
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>
fs/fuse/inode.c
patch
|
blob
|
history
diff --git
a/fs/fuse/inode.c
b/fs/fuse/inode.c
index 22c76cf8c2e39ea6a0d36139f3fb3ee0db2db1da..48baa26993f3e2236e78298994e9a7f19a023737 100644
(file)
--- a/
fs/fuse/inode.c
+++ b/
fs/fuse/inode.c
@@
-1222,7
+1222,7
@@
static void fuse_kill_sb_anon(struct super_block *sb)
static struct file_system_type fuse_fs_type = {
.owner = THIS_MODULE,
.name = "fuse",
- .fs_flags = FS_HAS_SUBTYPE,
+ .fs_flags = FS_HAS_SUBTYPE
| FS_USERNS_MOUNT
,
.mount = fuse_mount,
.kill_sb = fuse_kill_sb_anon,
};