[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:
Robo Shimmer 2018-07-31 16:20:56 +02:00 committed by openKylinBot
parent 2e42c30547
commit bcc7a39590
2 changed files with 2 additions and 0 deletions

View File

@ -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)
=======================

View File

@ -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)