From e751959925232e3e4f3e10a3964f30451382486a Mon Sep 17 00:00:00 2001 From: Luis Ressel Date: Fri, 28 Sep 2018 16:16:35 +0200 Subject: [PATCH] corecommands: Fix /usr/share/apr* fc 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)