aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/gnunet-service-namestore
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/apparmor/gnunet-service-namestore')
-rw-r--r--contrib/apparmor/gnunet-service-namestore36
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/apparmor/gnunet-service-namestore b/contrib/apparmor/gnunet-service-namestore
new file mode 100644
index 000000000..68b94e6aa
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-namestore
@@ -0,0 +1,36 @@
1# Last Modified: Tue Jul 7 10:43:41 2015
2#include <tunables/global>
3#include <tunables/gnunet>
4
5profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore {
6 #include <abstractions/gnunet-common>
7
8 @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore mr,
9
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
18 @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.la r,
19 @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.so mr,
20
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,
36}