From 5d31560b4d61538d4abe933a27d2fa6800ce683e Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 8 Jun 2005 22:32:43 +0000 Subject: [PATCH] genhomedircon entries --- refpolicy/policy/modules/system/files.fc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/refpolicy/policy/modules/system/files.fc b/refpolicy/policy/modules/system/files.fc index 12386a84a..743395b14 100644 --- a/refpolicy/policy/modules/system/files.fc +++ b/refpolicy/policy/modules/system/files.fc @@ -49,6 +49,11 @@ ifdef(`distro_gentoo', ` /etc/env\.d/.* -- context_template(system_u:object_r:etc_runtime_t,s0) ') +# HOME_ROOT expands to all valid home directory prefixes found in /etc/passwd +HOME_ROOT -d context_template(system_u:object_r:home_root_t,s0) +HOME_ROOT/\.journal <> +HOME_ROOT/lost\+found(/.*)? context_template(system_u:object_r:lost_found_t,s0) + # # /initrd #