diff options
Diffstat (limited to 'contrib/apparmor/gnunet-service-peerstore')
-rw-r--r-- | contrib/apparmor/gnunet-service-peerstore | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/contrib/apparmor/gnunet-service-peerstore b/contrib/apparmor/gnunet-service-peerstore index 536e4ee0f..cbab2395e 100644 --- a/contrib/apparmor/gnunet-service-peerstore +++ b/contrib/apparmor/gnunet-service-peerstore | |||
@@ -3,22 +3,19 @@ | |||
3 | #include <tunables/gnunet> | 3 | #include <tunables/gnunet> |
4 | 4 | ||
5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore { | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore { |
6 | #include <abstractions/base> | ||
6 | #include <abstractions/gnunet-common> | 7 | #include <abstractions/gnunet-common> |
7 | 8 | #include <abstractions/gnunet-db> | |
8 | #Librairies | ||
9 | /usr/lib/ld-*.so r, | ||
10 | /usr/lib/libpthread-*.so mr, | ||
11 | /usr/lib/libsqlite3.so.* mr, | ||
12 | 9 | ||
13 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore mr, | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore mr, |
14 | 11 | ||
15 | #Gnunet Plugin | 12 | #Gnunet Plugin |
16 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r, | 13 | # @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r, |
17 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr, | 14 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr, |
18 | 15 | ||
19 | #Gnunet librairies | 16 | @{GNUNET_USER}/.local/share/gnunet/peerstore/sqlite.db rwk, |
20 | @{GNUNET_PREFIX}/lib/libgnunetpeerstore.so.* mr, | 17 | @{GNUNET_USER}/.local/share/gnunet/peerstore/sqlite.db-journal rw, |
21 | 18 | ||
22 | /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db rwk, | 19 | # Site-specific additions and overrides. See local/README for details. |
23 | /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db-journal rw, | 20 | #include <local/gnunet> |
24 | } | 21 | } |