1 Star 0 Fork 35

yixiangzhike/selinux-policy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
add-avc-for-haveged.patch 972 Bytes
一键复制 编辑 原始数据 按行查看 历史
Linux_zhang 提交于 2025-02-25 11:13 +08:00 . add avc for haveged
From 65b804ea592c667bfd8c52adc750e52d4177f835 Mon Sep 17 00:00:00 2001
From: Linux_zhang <Linux_zhang@h-partners.com>
Date: Tue, 25 Feb 2025 11:05:00 +0800
Subject: [PATCH] add avc for haveged
Resolves: https://gitee.com/src-openeuler/haveged/issues/IBMY06
---
policy/modules/contrib/entropyd.te | 3 +++
1 file changed, 3 insertions(+)
diff --git a/policy/modules/contrib/entropyd.te b/policy/modules/contrib/entropyd.te
index 7e63592..5b5a2ec 100644
--- a/policy/modules/contrib/entropyd.te
+++ b/policy/modules/contrib/entropyd.te
@@ -33,6 +33,9 @@ allow entropyd_t self:capability { dac_read_search ipc_lock sys_admin };
dontaudit entropyd_t self:capability sys_tty_config;
allow entropyd_t self:process signal_perms;
+fs_rw_inherited_tmpfs_files(entropyd_t)
+allow entropyd_t tmpfs_t:file {map getattr open};
+
manage_files_pattern(entropyd_t, entropyd_var_run_t, entropyd_var_run_t)
files_pid_filetrans(entropyd_t, entropyd_var_run_t, file)
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yixiangzhike/selinux-policy.git
git@gitee.com:yixiangzhike/selinux-policy.git
yixiangzhike
selinux-policy
selinux-policy
master

搜索帮助