1 Star 0 Fork 35

据说名字用中文可以辟邪/selinux-policy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Fix-bug-in-userdom_restricted_xwindows_user_template.patch 888 Bytes
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 23:16 +08:00 . Package init
From 0269451c9568aa7939b0fef6708d867fcd2ffd47 Mon Sep 17 00:00:00 2001
From: Lukas Vrabec <lvrabec@redhat.com>
Date: Thu, 21 Feb 2019 16:12:18 +0100
Subject: [PATCH 083/109] Fix bug in
userdom_restricted_xwindows_user_template() template to disallow all user
domains to access admin_home_t
Fixes: #221
---
policy/modules/system/userdomain.if | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
index 90a8a7533..4988fdd41 100644
--- a/policy/modules/system/userdomain.if
+++ b/policy/modules/system/userdomain.if
@@ -1345,7 +1345,7 @@ template(`userdom_restricted_xwindows_user_template',`
optional_policy(`
pulseaudio_role($1_r, $1_usertype)
- pulseaudio_filetrans_admin_home_content($1_usertype)
+ pulseaudio_filetrans_home_content($1_usertype)
')
optional_policy(`
--
2.19.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/flysubmarine/selinux-policy.git
git@gitee.com:flysubmarine/selinux-policy.git
flysubmarine
selinux-policy
selinux-policy
master

搜索帮助