加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Allow-redis-get-attributes-of-filesystems-with-exten.patch 851 Bytes
一键复制 编辑 原始数据 按行查看 历史
lujie54 提交于 2022-09-02 15:54 . backport upstream patches
From dbb20e7f9fb98fc322d925b66da0abc7258957cf Mon Sep 17 00:00:00 2001
From: Zdenek Pytela <zpytela@redhat.com>
Date: Tue, 9 Nov 2021 18:35:11 +0100
Subject: [PATCH] Allow redis get attributes of filesystems with extended
attributes
Reference: https://gitbub.com/fedora-selinux/selinux-policy/commit/dbb20e7f9fb98fc322d925b66da0abc7258957cf
Conflict: NA
Signed-off-by: lujie54 <lujie54@huawei.com>
---
policy/modules/contrib/redis.te | 1 +
1 file changed, 1 insertion(+)
diff --git a/policy/modules/contrib/redis.te b/policy/modules/contrib/redis.te
index 093f28d..fb6a3dc 100644
--- a/policy/modules/contrib/redis.te
+++ b/policy/modules/contrib/redis.te
@@ -99,6 +99,7 @@ tunable_policy(`redis_enable_notify',`
corecmd_exec_shell(redis_t)
fs_getattr_tmpfs(redis_t)
+ fs_getattr_xattr_fs(redis_t)
')
optional_policy(`
--
1.8.3.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化