aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-peerinfo
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/apparmor/gnunet-service-peerinfo')
-rw-r--r--contrib/apparmor/gnunet-service-peerinfo21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/apparmor/gnunet-service-peerinfo b/contrib/apparmor/gnunet-service-peerinfo
new file mode 100644
index 000000000..1ce4a85f8
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-peerinfo
@@ -0,0 +1,21 @@
1# Last Modified: Wed Jul 8 17:03:17 2015
2
3#include <tunables/global>
4#include <tunables/gnunet>
5
6profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerinfo {
7 #include <abstractions/gnunet-common>
8
9 @{GNUNET_PREFIX}/share/gnunet/hellos/ r,
10 @{GNUNET_PREFIX}/share/gnunet/hellos/* r,
11
12 /var/lib/gnunet/.local/share/gnunet/peerinfo/hosts/ r,
13 /var/lib/gnunet/.local/share/gnunet/peerinfo/hosts/* rw,
14
15 /usr/lib/ld-*.so r,
16
17 @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerinfo mr,
18
19 @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
20 @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
21}