aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2019-01-04 13:33:01 +0000
committerNikolaus Rath <Nikolaus@rath.org>2019-01-04 13:33:01 +0000
commite7909ad6484899617dec9664a4b11e8af6b4174a (patch)
tree28a896b161852314b8972809a4ada8a73f49ec75
parent3bc72dafd26f113b1f98981e25f19312f78021e9 (diff)
downloadlibfuse-e7909ad6484899617dec9664a4b11e8af6b4174a.tar.gz
Added OpenAFS to type whitelist
Fixes: #336.
-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 e016f5f..f01de7f 100644
--- a/ChangeLog.rst
+++ b/ChangeLog.rst
@@ -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)
diff --git a/util/fusermount.c b/util/fusermount.c
index 8eb0fdc..e6ac792 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -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 */,