aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0008-Adjust-apparmor-functions-path.patch
diff options
context:
space:
mode:
authorallgdante <allan.garret@gmail.com>2018-01-26 11:09:38 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-13 15:33:55 +0000
commitad8994e692705cfffed1c2ec14070b7b6ce85de9 (patch)
treeff3d65b3bd20a240e4c370239e3b9a86afcdf96c /testing/apparmor/0008-Adjust-apparmor-functions-path.patch
parenteec0dec579994a499def4c1ab349672b8404b80b (diff)
testing/apparmor: upgrade to 2.12
Diffstat (limited to 'testing/apparmor/0008-Adjust-apparmor-functions-path.patch')
-rw-r--r--testing/apparmor/0008-Adjust-apparmor-functions-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/apparmor/0008-Adjust-apparmor-functions-path.patch b/testing/apparmor/0008-Adjust-apparmor-functions-path.patch
new file mode 100644
index 00000000000..6065154c053
--- /dev/null
+++ b/testing/apparmor/0008-Adjust-apparmor-functions-path.patch
@@ -0,0 +1,13 @@
+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"