From: mrdvdrm Date: Fri, 25 Aug 2023 17:03:54 +0000 (+0200) Subject: Add NTFS3 kernel driver fs to the whitelist of mount targets (#830) X-Git-Tag: fuse-3.16.2~8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=869a4a6fa550ae054df01f9d50db68871f88ca4f;p=qemu-gpiodev%2Flibfuse.git Add NTFS3 kernel driver fs to the whitelist of mount targets (#830) With Linux Kernel 5.15 new ntfs kernel driver NTFS3 was included. It must be whitelisted as a permitted mount target. --- diff --git a/util/fusermount.c b/util/fusermount.c index 57bf3ed..a2dd8e1 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -1058,6 +1058,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd) 0x00006969 /* NFS_SUPER_MAGIC */, 0x00003434 /* NILFS_SUPER_MAGIC */, 0x5346544E /* NTFS_SB_MAGIC */, + 0x7366746E /* NTFS3_SUPER_MAGIC */, 0x5346414f /* OPENAFS_SUPER_MAGIC */, 0x794C7630 /* OVERLAYFS_SUPER_MAGIC */, 0x52654973 /* REISERFS_SUPER_MAGIC */,