aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-nse
blob: a3f7f2a1268c8016138b38b63f21d753a56c8b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Last Modified: Fri Jul  3 17:37:49 2015
#include <tunables/global>
#include <tunables/gnunet>

profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-nse {
  #include <abstractions/gnunet-common>

  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-nse mr,

  #Gnunet librairies
  @{GNUNET_PREFIX}/lib/libgnunetnse.so.* mr,
  @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
  @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,

  /usr/lib/ld-*.so mr,

  /tmp/gnunet-system-runtime/gnunet-service-nse.unix w,

  @{HOME}/.local/share/gnunet/private_key.ecc rk,
  owner @{HOME}/.local/share/gnunet/nse/proof.dat rw,

  /var/lib/gnunet/.local/share/gnunet/private_key.ecc rwk,
  /var/lib/gnunet/.local/share/gnunet/nse/proof.dat rw,
}