aboutsummaryrefslogtreecommitdiff
path: root/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore
diff options
context:
space:
mode:
authorJulien Morvan <julien.morvan@outlook.com>2015-07-28 14:56:33 +0000
committerJulien Morvan <julien.morvan@outlook.com>2015-07-28 14:56:33 +0000
commit8f898484dc5034bb8900ee989c88ed31787ca442 (patch)
treeaf6db17c2484b385f19e426ba17ed3b7ed1490c2 /contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore
parent42762fe40aaaf40bec4c20b821f074e082397351 (diff)
downloadgnunet-8f898484dc5034bb8900ee989c88ed31787ca442.tar.gz
gnunet-8f898484dc5034bb8900ee989c88ed31787ca442.zip
Add AppArmor profiles
Diffstat (limited to 'contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore')
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore
new file mode 100644
index 000000000..0f9f8ed8c
--- /dev/null
+++ b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore
@@ -0,0 +1,23 @@
1# Last Modified: Mon Jul 27 11:06:13 2015
2#include <tunables/global>
3
4/usr/local/lib/gnunet/libexec/gnunet-service-peerstore {
5 #include <abstractions/gnunet-common>
6
7 #Librairies
8 /usr/lib/ld-*.so r,
9 /usr/lib/libpthread-*.so mr,
10 /usr/lib/libsqlite3.so.* mr,
11
12 /usr/local/lib/gnunet/libexec/gnunet-service-peerstore mr,
13
14 #Gnunet Plugin
15 /usr/local/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r,
16 /usr/local/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr,
17
18 #Gnunet librairies
19 /usr/local/lib/libgnunetpeerstore.so.* mr,
20
21 /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db rwk,
22 /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db-journal rw,
23}