1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/apparmor/0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch
2019-01-31 18:58:36 +02:00

28 lines
988 B
Diff

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