aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-peerstore
blob: 536e4ee0f74d0ed065cd42bf657a1844ec818b7a (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 11:06:13 2015
#include <tunables/global>
#include <tunables/gnunet>

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

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

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

  #Gnunet Plugin
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr,

  #Gnunet librairies
  @{GNUNET_PREFIX}/lib/libgnunetpeerstore.so.* mr,

  /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db rwk,
  /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db-journal rw,
}