1 Star 0 Fork 33

guoxiaoqi/selinux-policy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
allow-ipmievd-to-read-the-process-state-proc-pid-of-.patch 783 Bytes
一键复制 编辑 原始数据 按行查看 历史
guoxiaoqi 提交于 2020-06-04 20:48 . add avc for openEuler
From d366d95268da066ab3e1655593010856ecead2d6 Mon Sep 17 00:00:00 2001
From: guoxiaoqi <guoxiaoqi2@huawei.com>
Date: Thu, 4 Jun 2020 20:22:30 +0800
Subject: [PATCH] allow ipmievd to read the process state (/proc/pid) of init
Signed-off-by: guoxiaoqi <guoxiaoqi2@huawei.com>
---
policy/modules/contrib/ipmievd.te | 2 ++
1 file changed, 2 insertions(+)
diff --git a/policy/modules/contrib/ipmievd.te b/policy/modules/contrib/ipmievd.te
index d36f842..2c727c3 100644
--- a/policy/modules/contrib/ipmievd.te
+++ b/policy/modules/contrib/ipmievd.te
@@ -46,6 +46,8 @@ dev_read_sysfs(ipmievd_t)
files_read_kernel_modules(ipmievd_t)
files_map_kernel_modules(ipmievd_t)
+init_read_state(ipmievd_t)
+
logging_send_syslog_msg(ipmievd_t)
miscfiles_read_certs(ipmievd_t)
--
1.8.3.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/angela7/selinux-policy.git
git@gitee.com:angela7/selinux-policy.git
angela7
selinux-policy
selinux-policy
master

搜索帮助