diff options
author | 1c7718e7 <shirokovMartin@gmail.com> | 2019-03-09 12:39:32 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-03-09 10:39:32 +0000 |
commit | 9e6cdc2c0c04731016e57da1fe31861fd63ea59d (patch) | |
tree | f074e50bc7f6b01c80f4b038051dd3c8e99ced69 /util/fusermount.c | |
parent | b394699a668e866f92019d9b3e8bfb29fec4eb28 (diff) | |
download | libfuse-9e6cdc2c0c04731016e57da1fe31861fd63ea59d.tar.gz |
Add HFS+ to filesystem whitelist (#347)
Diffstat (limited to 'util/fusermount.c')
-rw-r--r-- | util/fusermount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c index ebc0689..7f9b7cd 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -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) |