* [refpolicy] [patch 1/2] Move oident manage and relabel home content interfaces to common user template.
@ 2010-09-22 15:32 Dominick Grift
0 siblings, 0 replies; only message in thread
From: Dominick Grift @ 2010-09-22 15:32 UTC (permalink / raw)
To: refpolicy
Signed-off-by: Dominick Grift <domg472@gmail.com>
---
:100644 100644 1854002... 089acb7... M policy/modules/roles/staff.te
:100644 100644 2a19751... 88ecccf... M policy/modules/roles/sysadm.te
:100644 100644 9b55b00... 738c59b... M policy/modules/roles/unprivuser.te
:100644 100644 2aa8928... b575edd... M policy/modules/system/userdomain.if
policy/modules/roles/staff.te | 5 -----
policy/modules/roles/sysadm.te | 5 -----
policy/modules/roles/unprivuser.te | 5 -----
policy/modules/system/userdomain.if | 5 +++++
4 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
index 1854002..089acb7 100644
--- a/policy/modules/roles/staff.te
+++ b/policy/modules/roles/staff.te
@@ -27,11 +27,6 @@ optional_policy(`
')
optional_policy(`
- oident_manage_user_content(staff_t)
- oident_relabel_user_content(staff_t)
-')
-
-optional_policy(`
postgresql_role(staff_r, staff_t)
')
diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index 2a19751..88ecccf 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -236,11 +236,6 @@ optional_policy(`
')
optional_policy(`
- oident_manage_user_content(sysadm_t)
- oident_relabel_user_content(sysadm_t)
-')
-
-optional_policy(`
pcmcia_run_cardctl(sysadm_t, sysadm_r)
')
diff --git a/policy/modules/roles/unprivuser.te b/policy/modules/roles/unprivuser.te
index 9b55b00..738c59b 100644
--- a/policy/modules/roles/unprivuser.te
+++ b/policy/modules/roles/unprivuser.te
@@ -17,11 +17,6 @@ optional_policy(`
')
optional_policy(`
- oident_manage_user_content(user_t)
- oident_relabel_user_content(user_t)
-')
-
-optional_policy(`
screen_role_template(user, user_r, user_t)
')
diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
index 2aa8928..b575edd 100644
--- a/policy/modules/system/userdomain.if
+++ b/policy/modules/system/userdomain.if
@@ -642,6 +642,11 @@ template(`userdom_common_user_template',`
')
optional_policy(`
+ oident_manage_user_content($1_t)
+ oident_relabel_user_content($1_t)
+ ')
+
+ optional_policy(`
# to allow monitoring of pcmcia status
pcmcia_read_pid($1_t)
')
--
1.7.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100922/bbae95cb/attachment.bin
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-22 15:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22 15:32 [refpolicy] [patch 1/2] Move oident manage and relabel home content interfaces to common user template Dominick Grift
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.