aboutsummaryrefslogtreecommitdiffstats
path: root/util/fusermount.c
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2025-02-16 22:40:41 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-18 22:32:49 +0100
commit88f7fb2b64a234eb14575d02db14ddd86c523c2d (patch)
treea7367f78b997f6b765938c85aa8bcaffb80e80b0 /util/fusermount.c
parent6adee44e78b70f1708b5d129281e958a2dfca33a (diff)
downloadlibfuse-88f7fb2b64a234eb14575d02db14ddd86c523c2d.tar.gz
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 <bschubert@ddn.com>
Diffstat (limited to 'util/fusermount.c')
-rw-r--r--util/fusermount.c2
1 files changed, 2 insertions, 0 deletions
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 */,