diff options
Diffstat (limited to 'contrib/apparmor/gnunet-service-peerstore')
-rw-r--r-- | contrib/apparmor/gnunet-service-peerstore | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/apparmor/gnunet-service-peerstore b/contrib/apparmor/gnunet-service-peerstore new file mode 100644 index 000000000..536e4ee0f --- /dev/null +++ b/contrib/apparmor/gnunet-service-peerstore | |||
@@ -0,0 +1,24 @@ | |||
1 | # Last Modified: Mon Jul 27 11:06:13 2015 | ||
2 | #include <tunables/global> | ||
3 | #include <tunables/gnunet> | ||
4 | |||
5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore { | ||
6 | #include <abstractions/gnunet-common> | ||
7 | |||
8 | #Librairies | ||
9 | /usr/lib/ld-*.so r, | ||
10 | /usr/lib/libpthread-*.so mr, | ||
11 | /usr/lib/libsqlite3.so.* mr, | ||
12 | |||
13 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore mr, | ||
14 | |||
15 | #Gnunet Plugin | ||
16 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r, | ||
17 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr, | ||
18 | |||
19 | #Gnunet librairies | ||
20 | @{GNUNET_PREFIX}/lib/libgnunetpeerstore.so.* mr, | ||
21 | |||
22 | /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db rwk, | ||
23 | /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db-journal rw, | ||
24 | } | ||