From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Mon, 31 Dec 2012 23:52:31 +0100 Subject: [refpolicy] [PATCH 12/12] Fix specification collision (hal and devicekit) In-Reply-To: <1356994351-29191-1-git-send-email-sven.vermeulen@siphos.be> References: <1356994351-29191-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1356994351-29191-13-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com In the devicekit contexts, pm-utils(/.*)? is colliding with the pm(/.*)? definition in HAL. So switching the definition in HAL to use the pm/ directory itself and leave pm-utils for devicekit. Signed-off-by: Sven Vermeulen --- hal.fc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hal.fc b/hal.fc index 2899bad..a64b30e 100644 --- a/hal.fc +++ b/hal.fc @@ -22,6 +22,7 @@ /var/run/hald(/.*)? gen_context(system_u:object_r:hald_var_run_t,s0) /var/run/haldaemon\.pid -- gen_context(system_u:object_r:hald_var_run_t,s0) -/var/run/pm(/.*)? gen_context(system_u:object_r:hald_var_run_t,s0) +/var/run/pm -d gen_context(system_u:object_r:hald_var_run_t,s0) +/var/run/pm/(.*)? gen_context(system_u:object_r:hald_var_run_t,s0) /var/run/synce.* gen_context(system_u:object_r:hald_var_run_t,s0) /var/run/vbe.* -- gen_context(system_u:object_r:hald_var_run_t,s0) -- 1.7.8.6