From: pebenito@ieee.org (Chris PeBenito) Date: Fri, 28 Sep 2018 15:21:15 -0400 Subject: [refpolicy] [PATCH] corecommands: Fix /usr/share/apr* fc In-Reply-To: <20180928141635.32424-1-aranea@aixah.de> References: <20180928141635.32424-1-aranea@aixah.de> Message-ID: <13e1c87b-79f1-6da2-c5cb-bd5d5c78a137@ieee.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 09/28/2018 10:16 AM, Luis Ressel via refpolicy wrote: > Both apr and apr-1 are possible > --- > policy/modules/kernel/corecommands.fc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc > index 9a3716063..5409430c3 100644 > --- a/policy/modules/kernel/corecommands.fc > +++ b/policy/modules/kernel/corecommands.fc > @@ -284,8 +284,8 @@ ifdef(`distro_gentoo',` > /usr/share/(.*/)?bin(/.*)? gen_context(system_u:object_r:bin_t,s0) > /usr/share/ajaxterm/ajaxterm.py.* -- gen_context(system_u:object_r:bin_t,s0) > /usr/share/ajaxterm/qweb.py.* -- gen_context(system_u:object_r:bin_t,s0) > -/usr/share/apr-0/build/[^/]+\.sh -- gen_context(system_u:object_r:bin_t,s0) > -/usr/share/apr-0/build/libtool -- gen_context(system_u:object_r:bin_t,s0) > +/usr/share/apr(-\d)?/build/[^/]+\.sh -- gen_context(system_u:object_r:bin_t,s0) > +/usr/share/apr(-\d)?/build/libtool -- gen_context(system_u:object_r:bin_t,s0) > /usr/share/build-1/[^/]+\.sh -- gen_context(system_u:object_r:bin_t,s0) > /usr/share/build-1/libtool -- gen_context(system_u:object_r:bin_t,s0) > /usr/share/dayplanner/dayplanner -- gen_context(system_u:object_r:bin_t,s0) Merged. -- Chris PeBenito