aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-helper-testbed
diff options
context:
space:
mode:
authorJulien Morvan <julien.morvan@outlook.com>2015-07-31 13:53:26 +0000
committerJulien Morvan <julien.morvan@outlook.com>2015-07-31 13:53:26 +0000
commit847e9575ed85eadb979bc416afec7cf898cf00d1 (patch)
tree4fa7f2f3d62a1dfbe14e160879a838a56ddd14ae /contrib/apparmor/gnunet-helper-testbed
parent18d3aebbb66f453d5b57bb28dd284508bb938332 (diff)
downloadgnunet-847e9575ed85eadb979bc416afec7cf898cf00d1.tar.gz
gnunet-847e9575ed85eadb979bc416afec7cf898cf00d1.zip
Diffstat (limited to 'contrib/apparmor/gnunet-helper-testbed')
-rw-r--r--contrib/apparmor/gnunet-helper-testbed37
1 files changed, 37 insertions, 0 deletions
diff --git a/contrib/apparmor/gnunet-helper-testbed b/contrib/apparmor/gnunet-helper-testbed
new file mode 100644
index 000000000..22ac13347
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-testbed
@@ -0,0 +1,37 @@
1# Last Modified: Mon Jul 27 11:02:37 2015
2#include <tunables/global>
3#include <tunables/gnunet>
4
5profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-testbed flags=(complain) {
6 #include <abstractions/gnunet-common>
7
8 /dev/null rw,
9
10 /etc/gai.conf r,
11
12 /usr/lib/ld-*.so r,
13
14 /usr/lib/locale/locale-archive r,
15
16 /usr/share/locale/locale.alias r,
17 /usr/share/locale/fr/LC_MESSAGES/libc.mo r,
18
19 /usr/lib/gconv/gconv-modules r,
20
21 @{GNUNET_PREFIX}/lib/gnunet/libexec/ r,
22 @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-testbed mr,
23 @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm r,
24 @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed Px,
25
26 #Gnunet librairies
27 @{GNUNET_PREFIX}/lib/libgnunetarm.so.* mr,
28 @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
29 @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
30 @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
31 @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
32 @{GNUNET_PREFIX}/lib/libgnunettestbed.so.* mr,
33 @{GNUNET_PREFIX}/lib/libgnunettesting.so.* mr,
34 @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
35
36 @{GNUNET_PREFIX}/share/gnunet/testing_hostkeys.ecc r,
37}