From: Nikolaus Rath Date: Fri, 4 Jan 2019 13:33:01 +0000 (+0000) Subject: Added OpenAFS to type whitelist X-Git-Tag: fuse-3.4.2~15 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e7909ad6484899617dec9664a4b11e8af6b4174a;p=qemu-gpiodev%2Flibfuse.git Added OpenAFS to type whitelist Fixes: #336. --- 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 */,