Skip to content

Commit

Permalink
Add HFS+ to filesystem whitelist (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
1c7718e7 authored and Nikratio committed Mar 9, 2019
1 parent b394699 commit 9e6cdc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.rst
Expand Up @@ -4,6 +4,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).
* Added HFS+ to whitelist (so users can now mount FUSE filesystems
on mountpoints within HFS+ filesystems).


libfuse 3.4.1 (2018-12-22)
Expand Down
1 change: 1 addition & 0 deletions util/fusermount.c
Expand Up @@ -1040,6 +1040,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 */,
0x0000482b /* HFSPLUS_SUPER_MAGIC */,
};
for (i = 0; i < sizeof(f_type_whitelist)/sizeof(f_type_whitelist[0]); i++) {
if (f_type_whitelist[i] == fs_buf.f_type)
Expand Down

0 comments on commit 9e6cdc2

Please sign in to comment.