Added OpenAFS to type whitelist
authorNikolaus Rath <Nikolaus@rath.org>
Fri, 4 Jan 2019 13:33:01 +0000 (13:33 +0000)
committerNikolaus Rath <Nikolaus@rath.org>
Fri, 4 Jan 2019 13:33:01 +0000 (13:33 +0000)
Fixes: #336.
ChangeLog.rst
util/fusermount.c

index e016f5f25a797917d527d473ff66e45fcc8e0d57..f01de7fab001e0dd08ea6b7e4ba0174b9d52ddc3 100644 (file)
@@ -2,6 +2,8 @@ Unreleased Changes
 ==================
 
 * Fixed a memory leak in `examples/passthrough_ll.c`.
+* Added OpenAFS to whitelist (so users can now mount FUSE filesystems
+  on mountpoints within OpenAFS filesystems).
 
 
 libfuse 3.4.1 (2018-12-22)
index 8eb0fdcb40dd9a60d3307cea5d3edbbd80dc1070..e6ac792ec02d86feec662be304a06f9e0cf57e94 100644 (file)
@@ -1010,6 +1010,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd)
         * but got expanded as we found more filesystems that needed to be
         * overlayed. */
        typeof(fs_buf.f_type) f_type_whitelist[] = {
+               0x5346414f /* OPENAFS_SUPER_MAGIC */,
                0x61756673 /* AUFS_SUPER_MAGIC */,
                0x00000187 /* AUTOFS_SUPER_MAGIC */,
                0xCA451A4E /* BCACHEFS_STATFS_MAGIC */,