aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-dns
blob: 394b97eb1bd735e286485cdac853d6bdc1dae025 (plain) (blame)
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: 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-sgid>

  capability setgid,

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

  #GNUnet helper
  @{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,
  
  # Site-specific additions and overrides. See local/README for details.
  #include <local/gnunet-sgid>
}