aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch
blob: 14dddeae1e107cc7d96533b29116551bf2d56ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 72a3291fc94210401e5dac3b2fa328b2bb40998d Mon Sep 17 00:00:00 2001
From: allgdante <allan.garret@gmail.com>
Date: Thu, 5 Jul 2018 17:32:46 +0200
Subject: [PATCH 6/7] utils: adjust rc functions for aa-remove-unknown

Update the path to the rc.apparmor.functions file to the one we can find
inside Alpine.
No intended functional changes
---
 utils/aa-remove-unknown | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/aa-remove-unknown b/utils/aa-remove-unknown
index d3bd9144..0b9ead7d 100644
--- a/utils/aa-remove-unknown
+++ b/utils/aa-remove-unknown
@@ -15,7 +15,7 @@
 #    along with this program. If not, see <http://www.gnu.org/licenses/>.
 # ----------------------------------------------------------------------
 
-APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
+APPARMOR_FUNCTIONS=/usr/libexec/apparmor/rc.apparmor.functions
 APPARMORFS=/sys/kernel/security/apparmor
 PROFILES="${APPARMORFS}/profiles"
 REMOVE="${APPARMORFS}/.remove"
-- 
2.20.1