4 Star 0 Fork 3

OpenCloudOS Stream/fuse

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0003-Whitelist-SMB2-found-on-some-NAS-devices.patch 866 Bytes
一键复制 编辑 原始数据 按行查看 历史
nilusyi 提交于 2022-10-25 14:34 . init repo
From 39b94ba3c5638f2ec76d392acf8aad32719d64c0 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <[email protected]>
Date: Wed, 3 Apr 2019 12:23:56 +0300
Subject: [PATCH] Whitelist SMB2 found on some NAS devices
* https://bugzilla.redhat.com/1694552#c7
Signed-off-by: Peter Lemenkov <[email protected]>
---
util/fusermount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/fusermount.c b/util/fusermount.c
index 7f9b7cd80..5021409f9 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -1035,6 +1035,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd)
0x5346544E /* NTFS_SB_MAGIC */,
0x794C7630 /* OVERLAYFS_SUPER_MAGIC */,
0x52654973 /* REISERFS_SUPER_MAGIC */,
+ 0xFE534D42 /* SMB2_SUPER_MAGIC */,
0x73717368 /* SQUASHFS_MAGIC */,
0x01021994 /* TMPFS_MAGIC */,
0x24051905 /* UBIFS_SUPER_MAGIC */,
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/fuse.git
[email protected]:opencloudos-stream/fuse.git
opencloudos-stream
fuse
fuse
master

搜索帮助