Add autofs to mountpoint file system whitelist
authorRobo Shimmer <roboshim@users.noreply.github.com>
Tue, 31 Jul 2018 14:20:56 +0000 (16:20 +0200)
committerNikolaus Rath <Nikolaus@rath.org>
Tue, 31 Jul 2018 14:20:56 +0000 (15:20 +0100)
ChangeLog.rst
util/fusermount.c

index f5d24ca6361ec09fbbf56e04c4fa9611f6d97973..2a5168ce1e113389a6ec51fff8def76b81a2dee0 100644 (file)
@@ -1,3 +1,5 @@
+* Allow fuse to be mounted into autofs folder hierarchy
+
 libfuse 3.2.5 (2018-07-24)
 ==========================
 
index b8c164ddd412dd5ec3e3c582429703e3bb6b80d3..2ca751052e56117ff1746eff1c3f2ed528eac857 100644 (file)
@@ -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)