mirror of https://gitee.com/openkylin/fuse.git
[PATCH] Add autofs to mountpoint file system whitelist
Gbp-Pq: Name 0007-Add_autofs_to_mountpoint_file_system_whitelist.patch
This commit is contained in:
parent
2e42c30547
commit
bcc7a39590
|
@ -7,6 +7,7 @@ FUSE 2.9.9 (2019-01-04)
|
|||
* 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
|
||||
non-zero offset e. g. by calling `seekdir` followed by `readdir`.
|
||||
* Allow fuse to be mounted into autofs folder hierarchy.
|
||||
|
||||
FUSE 2.9.8 (2018-07-24)
|
||||
=======================
|
||||
|
|
|
@ -1051,6 +1051,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 */,
|
||||
0x00000187 /* AUTOFS */,
|
||||
};
|
||||
for (i = 0; i < sizeof(f_type_whitelist)/sizeof(f_type_whitelist[0]); i++) {
|
||||
if (f_type_whitelist[i] == fs_buf.f_type)
|
||||
|
|
Loading…
Reference in New Issue