From: dominick.grift@gmail.com (grift) Date: Tue, 01 Jan 2013 11:33:31 +0100 Subject: [refpolicy] [PATCH 12/12] Fix specification collision (hal and devicekit) In-Reply-To: <1356994351-29191-13-git-send-email-sven.vermeulen@siphos.be> References: <1356994351-29191-1-git-send-email-sven.vermeulen@siphos.be> <1356994351-29191-13-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1357036411.2088.1.camel@localhost> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Mon, 2012-12-31 at 23:52 +0100, Sven Vermeulen wrote: > 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. I do not understand what you are trying to achieve here In devicekit.fc its pm-utils(/.*)? and in hald its pm(/.*)? so there should'nt be any collision > 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)