aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-dns
blob: ba8a31ce1462a1569c95253dc1b420be75e6e5d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Last Modified: Mon Jul 27 15:18:30 2015
#include <tunables/global>
#include <tunables/gnunet>

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

  capability setgid,

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

  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-dns Px,

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

  #Gnunet librairies
  @{GNUNET_PREFIX}/lib/libgnunetdnsstub.so.* mr,
  @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
  @{GNUNET_PREFIX}/lib/libgnunettun.so.* mr,
}