From: Bernd Schubert Date: Sun, 16 Feb 2025 21:40:41 +0000 (+0100) Subject: fusermount: Exclude UFSD from whitelist for 32-bit builds X-Git-Tag: fuse-3.17.1-rc1~16 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=88f7fb2b64a234eb14575d02db14ddd86c523c2d;p=qemu-gpiodev%2Flibfuse.git fusermount: Exclude UFSD from whitelist for 32-bit builds The UFSD super magic is larger than 32-bit - I don't know if truncating to 32-bit would work - we just exclude it for now. Signed-off-by: Bernd Schubert --- diff --git a/util/fusermount.c b/util/fusermount.c index b87d8bb..683c549 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -1141,7 +1141,9 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd) 0x73717368 /* SQUASHFS_MAGIC */, 0x01021994 /* TMPFS_MAGIC */, 0x24051905 /* UBIFS_SUPER_MAGIC */, +#if __SIZEOF_LONG__ > 4 0x736675005346544e /* UFSD */, +#endif 0x58465342 /* XFS_SB_MAGIC */, 0x2FC12FC1 /* ZFS_SUPER_MAGIC */, 0x858458f6 /* RAMFS_MAGIC */,