aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-nse
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/apparmor/gnunet-service-nse')
-rw-r--r--contrib/apparmor/gnunet-service-nse24
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/apparmor/gnunet-service-nse b/contrib/apparmor/gnunet-service-nse
new file mode 100644
index 000000000..a3f7f2a12
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-nse
@@ -0,0 +1,24 @@
1# Last Modified: Fri Jul 3 17:37:49 2015
2#include <tunables/global>
3#include <tunables/gnunet>
4
5profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-nse {
6 #include <abstractions/gnunet-common>
7
8 @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-nse mr,
9
10 #Gnunet librairies
11 @{GNUNET_PREFIX}/lib/libgnunetnse.so.* mr,
12 @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
13 @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
14
15 /usr/lib/ld-*.so mr,
16
17 /tmp/gnunet-system-runtime/gnunet-service-nse.unix w,
18
19 @{HOME}/.local/share/gnunet/private_key.ecc rk,
20 owner @{HOME}/.local/share/gnunet/nse/proof.dat rw,
21
22 /var/lib/gnunet/.local/share/gnunet/private_key.ecc rwk,
23 /var/lib/gnunet/.local/share/gnunet/nse/proof.dat rw,
24}