From: aranea@aixah.de (Luis Ressel) Date: Fri, 28 Sep 2018 16:16:35 +0200 Subject: [refpolicy] [PATCH] corecommands: Fix /usr/share/apr* fc Message-ID: <20180928141635.32424-1-aranea@aixah.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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) -- 2.19.0