From 88f7fb2b64a234eb14575d02db14ddd86c523c2d Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sun, 16 Feb 2025 22:40:41 +0100 Subject: [PATCH] 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 --- util/fusermount.c | 2 ++ 1 file changed, 2 insertions(+) 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 */, -- 2.30.2