Added OpenAFS to type whitelist

Fixes: #336.
This commit is contained in:
Nikolaus Rath 2019-01-04 13:33:01 +00:00
parent 06fc40705f
commit 41e3e7c00e
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Unreleased Changes
==================
* Added OpenAFS to whitelist (so users can now mount FUSE filesystems
on mountpoints within OpenAFS filesystems).
* Added a test of `seekdir` to test_syscalls.
* Fixed `readdir` bug when non-zero offsets are given to filler and the
filesystem client, after reading a whole directory, re-reads it from a

View File

@ -1028,6 +1028,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd)
* the ecryptfs mount helper
* (https://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/view/head:/src/utils/mount.ecryptfs_private.c#L225). */
typeof(fs_buf.f_type) f_type_whitelist[] = {
0x5346414f /* OPENAFS_SUPER_MAGIC */,
0x61756673 /* AUFS_SUPER_MAGIC */,
0x9123683E /* BTRFS_SUPER_MAGIC */,
0x00C36400 /* CEPH_SUPER_MAGIC */,