From dd31631500a073a8b66e62ad16f755bd27aafba6 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 27 May 2005 20:29:17 +0000 Subject: [PATCH] fix ordering and put in var_lib_t --- refpolicy/policy/modules/system/files.fc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/refpolicy/policy/modules/system/files.fc b/refpolicy/policy/modules/system/files.fc index 72f60180..541e4edf 100644 --- a/refpolicy/policy/modules/system/files.fc +++ b/refpolicy/policy/modules/system/files.fc @@ -119,8 +119,13 @@ ifdef(`distro_gentoo', ` /usr/inclu.e(/.*)? context_template(system_u:object_r:usr_t,s0) /usr/local/\.journal <> + +/usr/local/etc(/.*)? context_template(system_u:object_r:etc_t,s0) + /usr/local/lost\+found(/.*)? context_template(system_u:object_r:lost_found_t,s0) +/usr/local/src(/.*)? context_template(system_u:object_r:src_t,s0) + /usr/share(/.*)?/lib(64)?(/.*)? context_template(system_u:object_r:usr_t,s0) /usr/src(/.*)? context_template(system_u:object_r:src_t,s0) @@ -134,20 +139,18 @@ ifdef(`distro_gentoo', ` /var(/.*)? context_template(system_u:object_r:var_t,s0) /var/\.journal <> -/var/lost\+found(/.*)? context_template(system_u:object_r:lost_found_t,s0) - /var/db/.*\.db -- context_template(system_u:object_r:etc_t,s0) /var/ftp/etc(/.*)? context_template(system_u:object_r:etc_t,s0) +/var/lib(/.*)? context_template(system_u:object_r:var_lib_t,s0) + /var/lib/nfs/rpc_pipefs(/.*)? <> -/usr/local/etc(/.*)? context_template(system_u:object_r:etc_t,s0) - -/usr/local/src(/.*)? context_template(system_u:object_r:src_t,s0) - /var/lock(/.*)? context_template(system_u:object_r:var_lock_t,s0) +/var/lost\+found(/.*)? context_template(system_u:object_r:lost_found_t,s0) + /var/run(/.*)? context_template(system_u:object_r:var_run_t,s0) /var/run/.*\.*pid <>