aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Robo Shimmer <roboshim@users.noreply.github.com>2018-07-31 16:20:56 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2018-07-31 15:20:56 +0100
commit0ef031bfc08564e7c5920432e13373dcf18dbc63 (patch)
treed65b5ebeb0953fcad4a7d6b1fcbe45806a8de396
parentaf47e3e5e63a2732f67b92267cb77790e5f31046 (diff)
Add autofs to mountpoint file system whitelist
-rw-r--r--ChangeLog.rst2
-rw-r--r--util/fusermount.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst
index f5d24ca..2a5168c 100644
--- a/ChangeLog.rst
+++ b/ChangeLog.rst
@@ -1,3 +1,5 @@
+* Allow fuse to be mounted into autofs folder hierarchy
+
libfuse 3.2.5 (2018-07-24)
==========================
diff --git a/util/fusermount.c b/util/fusermount.c
index b8c164d..2ca7510 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -1029,6 +1029,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd)
0x24051905 /* UBIFS_SUPER_MAGIC */,
0x58465342 /* XFS_SB_MAGIC */,
0x2FC12FC1 /* ZFS_SUPER_MAGIC */,
+ 0x00000187 /* AUTOFS */,
};
for (i = 0; i < sizeof(f_type_whitelist)/sizeof(f_type_whitelist[0]); i++) {
if (f_type_whitelist[i] == fs_buf.f_type)