aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-arm
blob: 546e6332e8110fb455a1e44da77e8e237b6ae4e4 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Last Modified: Thu Jul  9 10:27:23 2015
#include <tunables/global>
#include <tunables/gnunet>

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

  /tmp/gnunet-*-runtime/ rw,
# /tmp/gnunet-*-runtime/gnunet-service-arm.sock rw,
# /tmp/gnunet-*-runtime/gnunet-service-namestore.sock r,
# /tmp/gnunet-*-runtime/gnunet-service-identity.sock r,
# /tmp/gnunet-*-runtime/gnunet-service-gns.sock r,
  
  /tmp/gnunet-*-runtime/gnunet-service-*.sock rw,

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

  @{GNUNET_PREFIX}/lib/gnunet/ r,

  @{GNUNET_PREFIX}/lib/gnunet/libexec/ r,

  #GNUnet daemon
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-exit Px,
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-hostlist Px,
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-latency-logger Px,
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-underlay Px,
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-topology Px,
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-pt Px,

  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-dns2gns Px,

  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-gns-proxy Px,

  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-namestore-fcfsd Px,

  #GNUnet service
  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-* Px,
  
  # Site-specific additions and overrides. See local/README for details.
  #include <local/gnunet>
}