diff options
Diffstat (limited to 'contrib/apparmor/gnunet-service-namestore')
-rw-r--r-- | contrib/apparmor/gnunet-service-namestore | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/contrib/apparmor/gnunet-service-namestore b/contrib/apparmor/gnunet-service-namestore index 68b94e6aa..0ee993ea0 100644 --- a/contrib/apparmor/gnunet-service-namestore +++ b/contrib/apparmor/gnunet-service-namestore | |||
@@ -3,34 +3,18 @@ | |||
3 | #include <tunables/gnunet> | 3 | #include <tunables/gnunet> |
4 | 4 | ||
5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore { | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore { |
6 | #include <abstractions/base> | ||
6 | #include <abstractions/gnunet-common> | 7 | #include <abstractions/gnunet-common> |
8 | #include <abstractions/gnunet-db> | ||
7 | 9 | ||
8 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore mr, | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore mr, |
9 | 11 | ||
10 | #Gnunet librairies | ||
11 | @{GNUNET_PREFIX}/lib/libgnunetnamecache.so.* mr, | ||
12 | @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr, | ||
13 | @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr, | ||
14 | @{GNUNET_PREFIX}/lib/libgnunetnamestore.so.* mr, | ||
15 | @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr, | ||
16 | |||
17 | #Gnunet plugin | 12 | #Gnunet plugin |
18 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.la r, | 13 | # @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.la r, |
19 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.so mr, | 14 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.so mr, |
20 | 15 | ||
21 | #Librairies | ||
22 | /usr/lib/libidn.so.* mr, | ||
23 | /usr/lib/ld-*.so r, | ||
24 | /usr/lib/libsqlite3.so.* mr, | ||
25 | /usr/lib/libpthread-*.so mr, | ||
26 | |||
27 | /var/lib/gnunet/.local/share/gnunet/namestore/ ra, | ||
28 | /var/lib/gnunet/.local/share/gnunet/namestore/sqlite.db rwk, | ||
29 | /var/lib/gnunet/.local/share/gnunet/namestore/sqlite.db-journal rw, | ||
30 | |||
31 | @{HOME}/.local/share/gnunet/namestore/ r, | ||
32 | @{HOME}/.local/share/gnunet/namestore/sqlite.db rwk, | ||
33 | @{HOME}/.local/share/gnunet/namestore/sqlite.db-journal rw, | ||
34 | |||
35 | /tmp/gnunet-*-runtime/ a, | 16 | /tmp/gnunet-*-runtime/ a, |
17 | |||
18 | # Site-specific additions and overrides. See local/README for details. | ||
19 | #include <local/gnunet> | ||
36 | } | 20 | } |