[selinux-policy] One more fix for unconfineduser.te
Miroslav Grepl
mgrepl at fedoraproject.org
Sun Jan 19 20:39:36 UTC 2014
commit fa5dd278c268141268edfbf1b5c47e2153eaf36a
Author: Miroslav Grepl <mgrepl at redhat.com>
Date: Sun Jan 19 21:39:40 2014 +0100
One more fix for unconfineduser.te
policy-rawhide-base.patch | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/policy-rawhide-base.patch b/policy-rawhide-base.patch
index 14a4189..a3ab12e 100644
--- a/policy-rawhide-base.patch
+++ b/policy-rawhide-base.patch
@@ -19891,10 +19891,10 @@ index 0000000..cf6582f
+
diff --git a/policy/modules/roles/unconfineduser.te b/policy/modules/roles/unconfineduser.te
new file mode 100644
-index 0000000..b93ceed
+index 0000000..c212063
--- /dev/null
+++ b/policy/modules/roles/unconfineduser.te
-@@ -0,0 +1,333 @@
+@@ -0,0 +1,335 @@
+policy_module(unconfineduser, 1.0.0)
+
+########################################
@@ -20221,13 +20221,15 @@ index 0000000..b93ceed
+ xserver_manage_home_fonts(unconfined_t)
+')
+
-+gen_user(unconfined_u, user, unconfined_r system_r, s0, s0 - mls_systemhigh, mcs_allcats)
+
+gen_require(`
+ attribute_role rpm_script_roles;
+')
+
+roleattribute unconfined_r rpm_script_roles;
++
++gen_user(unconfined_u, user, unconfined_r system_r, s0, s0 - mls_systemhigh, mcs_allcats)
++
diff --git a/policy/modules/roles/unprivuser.if b/policy/modules/roles/unprivuser.if
index 3835596..fbca2be 100644
--- a/policy/modules/roles/unprivuser.if
More information about the scm-commits
mailing list