aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-vpn
blob: 2d3438bf63c36fde8a47c0fa1a2a8e67eb34bea8 (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
25
26
27
# Last Modified: Mon Jul 20 11:20:57 2015
#include <tunables/global>
#include <tunables/gnunet>

profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-vpn {
  #include <abstractions/gnunet-common>
  
  #Capability
  capability setuid,
  capability net_admin,

  /dev/net/tun rw,

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

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

  #Gnunet helper
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn Px,
  
  #Gnunet librairies
  @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
  @{GNUNET_PREFIX}/lib/libgnunetregex.so.* mr,
  @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
  @{GNUNET_PREFIX}/lib/libgnunettun.so.* mr,
}