summaryrefslogtreecommitdiff
path: root/policy/modules/system/userdomain.fc
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/system/userdomain.fc')
-rw-r--r--policy/modules/system/userdomain.fc9
1 files changed, 9 insertions, 0 deletions
diff --git a/policy/modules/system/userdomain.fc b/policy/modules/system/userdomain.fc
new file mode 100644
index 00000000..58d0e2d6
--- /dev/null
+++ b/policy/modules/system/userdomain.fc
@@ -0,0 +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-s15:c0.c255)
+HOME_DIR/.+ gen_context(system_u:object_r:ROLE_home_t,s0)
+')