[selinux-policy: 970/3172] role hack for genhomedircon
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 20:28:50 UTC 2010
commit 3ed2b6933994a2198e8f4f1eaa84d50052835cb9
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Mon Nov 14 22:46:18 2005 +0000
role hack for genhomedircon
refpolicy/policy/modules/system/userdomain.fc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/refpolicy/policy/modules/system/userdomain.fc b/refpolicy/policy/modules/system/userdomain.fc
index 78d6da5..8cd6788 100644
--- a/refpolicy/policy/modules/system/userdomain.fc
+++ b/refpolicy/policy/modules/system/userdomain.fc
@@ -1,4 +1,9 @@
-
+# temporary hack till genhomedircon is fixed
+ifdef(`targeted_policy',`
+HOME_DIR -d gen_context(system_u:object_r:user_home_dir_t,s0)
+HOME_DIR/.+ gen_context(system_u:object_r:user_home_t,s0)
+',`
HOME_DIR -d gen_context(system_u:object_r:ROLE_home_dir_t,s0)
HOME_DIR/.+ gen_context(system_u:object_r:ROLE_home_t,s0)
+')
More information about the scm-commits
mailing list