From dd31631500a073a8b66e62ad16f755bd27aafba6 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: May 27 2005 20:29:17 +0000 Subject: fix ordering and put in var_lib_t --- diff --git a/refpolicy/policy/modules/system/files.fc b/refpolicy/policy/modules/system/files.fc index 72f6018..541e4ed 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/nfs/rpc_pipefs(/.*)? <> - -/usr/local/etc(/.*)? context_template(system_u:object_r:etc_t,s0) +/var/lib(/.*)? context_template(system_u:object_r:var_lib_t,s0) -/usr/local/src(/.*)? context_template(system_u:object_r:src_t,s0) +/var/lib/nfs/rpc_pipefs(/.*)? <> /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 <>