diff options
Diffstat (limited to 'contrib/apparmor/gnunet-service-testbed')
-rw-r--r-- | contrib/apparmor/gnunet-service-testbed | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/apparmor/gnunet-service-testbed b/contrib/apparmor/gnunet-service-testbed new file mode 100644 index 000000000..06e8f36ea --- /dev/null +++ b/contrib/apparmor/gnunet-service-testbed | |||
@@ -0,0 +1,36 @@ | |||
1 | # Last Modified: Mon Jul 27 11:02:46 2015 | ||
2 | #include <tunables/global> | ||
3 | #include <tunables/gnunet> | ||
4 | |||
5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed flags=(complain) { | ||
6 | #include <abstractions/gnunet-common> | ||
7 | |||
8 | /etc/gai.conf r, | ||
9 | |||
10 | /tmp/gnunet-system-runtime/ w, | ||
11 | /tmp/gnunet-system-runtime/gnunet-service-testbed-barrier.sock w, | ||
12 | /tmp/gnunet-system-runtime/gnunet-service-testbed.sock w, | ||
13 | |||
14 | /usr/lib/ld-*.so r, | ||
15 | |||
16 | /dev/null r, | ||
17 | |||
18 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-* r, | ||
19 | |||
20 | @{GNUNET_PREFIX}/lib/gnunet/libexec/ r, | ||
21 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm Px, | ||
22 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed mr, | ||
23 | |||
24 | #Gnunet librairies | ||
25 | @{GNUNET_PREFIX}/lib/libgnunetarm.so.* mr, | ||
26 | @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr, | ||
27 | @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr, | ||
28 | @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr, | ||
29 | @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr, | ||
30 | @{GNUNET_PREFIX}/lib/libgnunettestbed.so.* mr, | ||
31 | @{GNUNET_PREFIX}/lib/libgnunettesting.so.* mr, | ||
32 | @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr, | ||
33 | |||
34 | @{GNUNET_PREFIX}/share/gnunet/testing_hostkeys.ecc r, | ||
35 | |||
36 | } | ||