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