|
0 |
From: Felix Geyer <fgeyer@debian.org>
|
|
1 |
Date: Tue, 11 Aug 2015 07:25:01 +0200
|
|
2 |
Subject: apparmor_profiles_local_include
|
|
3 |
|
|
4 |
Include local apparmor profile
|
|
5 |
---
|
|
6 |
examples/apparmor/usr.lib.libvirt.virt-aa-helper | 3 +++
|
|
7 |
examples/apparmor/usr.sbin.libvirtd | 2 ++
|
|
8 |
2 files changed, 5 insertions(+)
|
|
9 |
|
|
10 |
diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
|
11 |
index 89b95f6..a992119 100644
|
|
12 |
--- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
|
13 |
+++ b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
|
14 |
@@ -52,4 +52,7 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
|
|
15 |
/**.vmdk r,
|
|
16 |
/**.[iI][sS][oO] r,
|
|
17 |
/**/disk{,.*} r,
|
|
18 |
+
|
|
19 |
+ # Site-specific additions and overrides. See local/README for details.
|
|
20 |
+ #include <local/usr.lib.libvirt.virt-aa-helper>
|
|
21 |
}
|
|
22 |
diff --git a/examples/apparmor/usr.sbin.libvirtd b/examples/apparmor/usr.sbin.libvirtd
|
|
23 |
index 5d606e6..be4e1ef 100644
|
|
24 |
--- a/examples/apparmor/usr.sbin.libvirtd
|
|
25 |
+++ b/examples/apparmor/usr.sbin.libvirtd
|
|
26 |
@@ -66,4 +66,6 @@
|
|
27 |
# allow changing to our UUID-based named profiles
|
|
28 |
change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*,
|
|
29 |
|
|
30 |
+ # Site-specific additions and overrides. See local/README for details.
|
|
31 |
+ #include <local/usr.sbin.libvirtd>
|
|
32 |
}
|