summaryrefslogtreecommitdiff
path: root/contrib/apparmor
diff options
context:
space:
mode:
authorJulien Morvan <julien.morvan@outlook.com>2015-07-31 13:53:26 +0000
committerJulien Morvan <julien.morvan@outlook.com>2015-07-31 13:53:26 +0000
commit847e9575ed85eadb979bc416afec7cf898cf00d1 (patch)
tree4fa7f2f3d62a1dfbe14e160879a838a56ddd14ae /contrib/apparmor
parent18d3aebbb66f453d5b57bb28dd284508bb938332 (diff)
Diffstat (limited to 'contrib/apparmor')
-rw-r--r--contrib/apparmor/gnunet-arm (renamed from contrib/apparmor/usr.local.bin.gnunet-arm)11
-rw-r--r--contrib/apparmor/gnunet-daemon-exit24
-rw-r--r--contrib/apparmor/gnunet-daemon-hostlist (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-hostlist)19
-rw-r--r--contrib/apparmor/gnunet-daemon-latency-logger (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-latency-logger)9
-rw-r--r--contrib/apparmor/gnunet-daemon-pt26
-rw-r--r--contrib/apparmor/gnunet-daemon-regexprofiler13
-rw-r--r--contrib/apparmor/gnunet-daemon-testbed-blacklist13
-rw-r--r--contrib/apparmor/gnunet-daemon-testbed-underlay23
-rw-r--r--contrib/apparmor/gnunet-daemon-topology27
-rw-r--r--contrib/apparmor/gnunet-dns2gns26
-rw-r--r--contrib/apparmor/gnunet-gns-proxy (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-gns-proxy)13
-rw-r--r--contrib/apparmor/gnunet-helper-audio-playback10
-rw-r--r--contrib/apparmor/gnunet-helper-audio-record10
-rw-r--r--contrib/apparmor/gnunet-helper-dns (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-dns)8
-rw-r--r--contrib/apparmor/gnunet-helper-exit12
-rw-r--r--contrib/apparmor/gnunet-helper-fs-publish (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-fs-publish)5
-rw-r--r--contrib/apparmor/gnunet-helper-nat-client12
-rw-r--r--contrib/apparmor/gnunet-helper-nat-server12
-rw-r--r--contrib/apparmor/gnunet-helper-testbed37
-rw-r--r--contrib/apparmor/gnunet-helper-transport-wlan12
-rw-r--r--contrib/apparmor/gnunet-helper-transport-wlan-dummy10
-rw-r--r--contrib/apparmor/gnunet-helper-vpn (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-vpn)9
-rw-r--r--contrib/apparmor/gnunet-namestore-fcfsd (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-namestore-fcfsd)15
-rw-r--r--contrib/apparmor/gnunet-service-arm109
-rw-r--r--contrib/apparmor/gnunet-service-ats20
-rw-r--r--contrib/apparmor/gnunet-service-cadet26
-rw-r--r--contrib/apparmor/gnunet-service-conversation28
-rw-r--r--contrib/apparmor/gnunet-service-core20
-rw-r--r--contrib/apparmor/gnunet-service-datastore (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-datastore)13
-rw-r--r--contrib/apparmor/gnunet-service-dht57
-rw-r--r--contrib/apparmor/gnunet-service-dns20
-rw-r--r--contrib/apparmor/gnunet-service-fs60
-rw-r--r--contrib/apparmor/gnunet-service-gns30
-rw-r--r--contrib/apparmor/gnunet-service-identity (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-identity)7
-rw-r--r--contrib/apparmor/gnunet-service-mesh30
-rw-r--r--contrib/apparmor/gnunet-service-namecache30
-rw-r--r--contrib/apparmor/gnunet-service-namestore (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-namestore)19
-rw-r--r--contrib/apparmor/gnunet-service-nse (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-nse)11
-rw-r--r--contrib/apparmor/gnunet-service-peerinfo21
-rw-r--r--contrib/apparmor/gnunet-service-peerstore (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore)11
-rw-r--r--contrib/apparmor/gnunet-service-regex18
-rw-r--r--contrib/apparmor/gnunet-service-resolver (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-resolver)5
-rw-r--r--contrib/apparmor/gnunet-service-revocation (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-revocation)13
-rw-r--r--contrib/apparmor/gnunet-service-scalarproduct-alice13
-rw-r--r--contrib/apparmor/gnunet-service-scalarproduct-bob14
-rw-r--r--contrib/apparmor/gnunet-service-set18
-rw-r--r--contrib/apparmor/gnunet-service-statistics16
-rw-r--r--contrib/apparmor/gnunet-service-template (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-template)5
-rw-r--r--contrib/apparmor/gnunet-service-testbed36
-rw-r--r--contrib/apparmor/gnunet-service-testbed-logger (renamed from contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-testbed-logger)5
-rw-r--r--contrib/apparmor/gnunet-service-transport29
-rw-r--r--contrib/apparmor/gnunet-service-vpn28
-rw-r--r--contrib/apparmor/tunables/gnunet1
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-exit23
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-pt25
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-regexprofiler12
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-blacklist12
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-underlay22
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-topology26
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-dns2gns25
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-playback9
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-record9
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-exit11
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-client11
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-server11
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-testbed36
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan11
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan-dummy9
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-arm109
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-ats19
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-cadet21
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-conversation27
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-core19
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dht56
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dns19
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-fs59
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-gns29
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-mesh29
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-namecache29
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerinfo20
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-regex17
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-alice12
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-bob11
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-set17
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-statistics15
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-testbed35
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-transport28
-rw-r--r--contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-vpn26
88 files changed, 991 insertions, 927 deletions
diff --git a/contrib/apparmor/usr.local.bin.gnunet-arm b/contrib/apparmor/gnunet-arm
index 83f758238..d969f6af1 100644
--- a/contrib/apparmor/usr.local.bin.gnunet-arm
+++ b/contrib/apparmor/gnunet-arm
@@ -1,14 +1,15 @@
-#/usr/local/lib Last Modified: Fri Jul 3 14:48:33 2015
+#Last Modified: Fri Jul 3 14:48:33 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/bin/gnunet-arm {
+profile @{GNUNET_PREFIX}/bin/gnunet-arm {
#include <abstractions/gnunet-common>
- /usr/local/bin/gnunet-arm mr,
+ @{GNUNET_PREFIX}/bin/gnunet-arm mr,
/usr/lib/gconv/gconv-modules r,
- /usr/local/lib/libgnunetarm.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetarm.so.* mr,
/dev/null ra,
@@ -18,7 +19,7 @@
/usr/share/locale/fr/LC_MESSAGES/libc.mo r,
#Gnunet service
- /usr/local/lib/gnunet/libexec/gnunet-service-arm Px ,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm Px ,
/tmp/gnunet-*-runtime/ rw,
/tmp/gnunet-*-runtime/gnunet-service-arm.sock rw,
diff --git a/contrib/apparmor/gnunet-daemon-exit b/contrib/apparmor/gnunet-daemon-exit
new file mode 100644
index 000000000..95f1c57d8
--- /dev/null
+++ b/contrib/apparmor/gnunet-daemon-exit
@@ -0,0 +1,24 @@
+# Last Modified: Mon Jul 27 15:57:50 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-exit {
+ #include <abstractions/gnunet-common>
+
+ /usr/lib/ld-*.so r,
+
+ /usr/lib/locale/locale-archive r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-exit mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsstub.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetregex.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettun.so.* mr,
+
+ /usr/share/locale/locale.alias r,
+
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-hostlist b/contrib/apparmor/gnunet-daemon-hostlist
index d9d32cb61..82afb3848 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-hostlist
+++ b/contrib/apparmor/gnunet-daemon-hostlist
@@ -1,7 +1,8 @@
# Last Modified: Fri Jul 10 10:43:55 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-daemon-hostlist {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-hostlist {
#include <abstractions/gnunet-common>
/etc/gai.conf r,
@@ -49,16 +50,16 @@
/usr/lib/locale/locale-archive r,
- /usr/local/lib/gnunet/libexec/gnunet-daemon-hostlist mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-hostlist mr,
#Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetpeerinfo.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
- /usr/local/lib/libgnunetutil.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerinfo.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetutil.so.* mr,
/usr/share/locale/fr/LC_MESSAGES/libc.mo r,
/usr/share/locale/locale.alias r,
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-latency-logger b/contrib/apparmor/gnunet-daemon-latency-logger
index a25852bf8..38053ffec 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-latency-logger
+++ b/contrib/apparmor/gnunet-daemon-latency-logger
@@ -1,16 +1,17 @@
# Last Modified: Mon Jul 27 16:25:08 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-daemon-latency-logger {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-latency-logger {
#include <abstractions/gnunet-common>
/usr/lib/ld-*.so r,
/usr/lib/libpthread-*.so mr,
/usr/lib/libsqlite3.so.* mr,
/usr/lib/locale/locale-archive r,
- /usr/local/lib/gnunet/libexec/gnunet-daemon-latency-logger mr,
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-latency-logger mr,
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
/usr/share/locale/locale.alias r,
}
diff --git a/contrib/apparmor/gnunet-daemon-pt b/contrib/apparmor/gnunet-daemon-pt
new file mode 100644
index 000000000..f14cf2922
--- /dev/null
+++ b/contrib/apparmor/gnunet-daemon-pt
@@ -0,0 +1,26 @@
+# Last Modified: Mon Jul 20 17:48:20 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-pt {
+ #include <abstractions/gnunet-common>
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libidn.so.* mr,
+
+ /usr/lib/locale/locale-archive r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-pt mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdns.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetmesh.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetvpn.so.* mr,
+
+ /usr/share/locale/locale.alias r,
+}
diff --git a/contrib/apparmor/gnunet-daemon-regexprofiler b/contrib/apparmor/gnunet-daemon-regexprofiler
new file mode 100644
index 000000000..eface26d1
--- /dev/null
+++ b/contrib/apparmor/gnunet-daemon-regexprofiler
@@ -0,0 +1,13 @@
+# Last Modified: Tue Jul 28 11:42:58 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-regexprofiler flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-regexprofiler mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetregexblock.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+
+}
diff --git a/contrib/apparmor/gnunet-daemon-testbed-blacklist b/contrib/apparmor/gnunet-daemon-testbed-blacklist
new file mode 100644
index 000000000..9dcfe321b
--- /dev/null
+++ b/contrib/apparmor/gnunet-daemon-testbed-blacklist
@@ -0,0 +1,13 @@
+# Last Modified: Tue Jul 28 11:42:58 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-blacklist flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-blacklist mr,
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+
+}
diff --git a/contrib/apparmor/gnunet-daemon-testbed-underlay b/contrib/apparmor/gnunet-daemon-testbed-underlay
new file mode 100644
index 000000000..f11dcbca9
--- /dev/null
+++ b/contrib/apparmor/gnunet-daemon-testbed-underlay
@@ -0,0 +1,23 @@
+# Last Modified: Mon Jul 27 16:37:03 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-underlay {
+ #include <abstractions/gnunet-common>
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libpthread-*.so mr,
+ /usr/lib/libsqlite3.so.* mr,
+
+ /usr/lib/locale/locale-archive r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-underlay mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+
+ /usr/share/locale/locale.alias r,
+}
diff --git a/contrib/apparmor/gnunet-daemon-topology b/contrib/apparmor/gnunet-daemon-topology
new file mode 100644
index 000000000..b8b03082c
--- /dev/null
+++ b/contrib/apparmor/gnunet-daemon-topology
@@ -0,0 +1,27 @@
+# Last Modified: Fri Jul 3 17:37:12 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-topology {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-topology mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetfriends.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerinfo.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+
+ /usr/lib/ld-*.so r,
+
+ /usr/lib//locale/locale-archive r,
+
+ /usr/lib/gconv/gconv-modules r,
+
+ /usr/share/locale/locale.alias r,
+ /usr/share/locale/fr/LC_MESSAGES/libc.mo r,
+}
diff --git a/contrib/apparmor/gnunet-dns2gns b/contrib/apparmor/gnunet-dns2gns
new file mode 100644
index 000000000..c860d56b0
--- /dev/null
+++ b/contrib/apparmor/gnunet-dns2gns
@@ -0,0 +1,26 @@
+# Last Modified: Tue Jul 21 16:45:05 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-dns2gns {
+ #include <abstractions/gnunet-common>
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libidn.so.* mr,
+
+ /usr/lib/locale/locale-archive r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-dns2gns mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsstub.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgns.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetidentity.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamestore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+
+ /usr/share/locale/locale.alias r,
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-gns-proxy b/contrib/apparmor/gnunet-gns-proxy
index 62efa7744..5d24b3a5e 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-gns-proxy
+++ b/contrib/apparmor/gnunet-gns-proxy
@@ -1,7 +1,8 @@
# Last Modified: Tue Jul 21 16:35:07 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-gns-proxy {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-gns-proxy {
#include <abstractions/gnunet-common>
/etc/ssl/openssl.cnf r,
@@ -36,13 +37,13 @@
/usr/lib/locale/locale-archive r,
- /usr/local/lib/gnunet/libexec/gnunet-gns-proxy mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-gns-proxy mr,
#Gnunet librairies
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetgns.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunetidentity.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgns.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetidentity.so.* mr,
/usr/share/locale/fr/LC_MESSAGES/libc.mo r,
/usr/share/locale/locale.alias r,
diff --git a/contrib/apparmor/gnunet-helper-audio-playback b/contrib/apparmor/gnunet-helper-audio-playback
new file mode 100644
index 000000000..b98b22b69
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-audio-playback
@@ -0,0 +1,10 @@
+# Last Modified: Tue Jul 28 11:46:24 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-playback flags=(complain) {
+ #include <abstractions/gnunet-common>
+ #include <abstractions/gnunet-libaudio>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-playback mr,
+}
diff --git a/contrib/apparmor/gnunet-helper-audio-record b/contrib/apparmor/gnunet-helper-audio-record
new file mode 100644
index 000000000..f85b83d9f
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-audio-record
@@ -0,0 +1,10 @@
+# Last Modified: Tue Jul 28 11:42:58 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-record flags=(complain) {
+ #include <abstractions/gnunet-common>
+ #include <abstractions/gnunet-libaudio>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-record mr,
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-dns b/contrib/apparmor/gnunet-helper-dns
index 960cf09b5..b6a102585 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-dns
+++ b/contrib/apparmor/gnunet-helper-dns
@@ -1,9 +1,11 @@
# Last Modified: Mon Jul 27 15:24:34 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-helper-dns flags=(complain) {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-dns flags=(complain) {
#include <abstractions/gnunet-common>
+ #Capability
capability net_admin,
capability net_raw,
capability setuid,
@@ -25,11 +27,11 @@
/usr/bin/sysctl rix,
/usr/bin/xtables-multi rix,
+ #Librairies
/usr/lib/iptables/libxt_MARK.so mr,
/usr/lib/iptables/libxt_owner.so mr,
/usr/lib/iptables/libxt_standard.so mr,
/usr/lib/iptables/libxt_udp.so mr,
-
/usr/lib/ld-*.so r,
/usr/lib/libip4tc.so.* mr,
/usr/lib/libip6tc.so.* mr,
@@ -39,5 +41,5 @@
/usr/lib/locale/locale-archive r,
- /usr/local/lib/gnunet/libexec/gnunet-helper-dns mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-dns mr,
}
diff --git a/contrib/apparmor/gnunet-helper-exit b/contrib/apparmor/gnunet-helper-exit
new file mode 100644
index 000000000..d185f5b80
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-exit
@@ -0,0 +1,12 @@
+# Last Modified: Tue Jul 28 11:44:00 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-exit flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ capability setuid,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-exit mr,
+
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-fs-publish b/contrib/apparmor/gnunet-helper-fs-publish
index ad0a142f7..ccf0cb513 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-fs-publish
+++ b/contrib/apparmor/gnunet-helper-fs-publish
@@ -1,7 +1,8 @@
# Last Modified: Tue Jul 28 11:42:58 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-helper-fs-publish flags=(complain) {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-fs-publish flags=(complain) {
#include <abstractions/gnunet-common>
/usr/lib/libbz2.so.* mr,
@@ -9,5 +10,5 @@
/usr/lib/libpthread-*.so mr,
/usr/lib/librt-*.so mr,
- /usr/local/lib/gnunet/libexec/gnunet-helper-fs-publish mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-fs-publish mr,
}
diff --git a/contrib/apparmor/gnunet-helper-nat-client b/contrib/apparmor/gnunet-helper-nat-client
new file mode 100644
index 000000000..19a563878
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-nat-client
@@ -0,0 +1,12 @@
+# Last Modified: Tue Jul 28 11:44:00 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-client flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ capability setuid,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-client mr,
+
+}
diff --git a/contrib/apparmor/gnunet-helper-nat-server b/contrib/apparmor/gnunet-helper-nat-server
new file mode 100644
index 000000000..594d2de7a
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-nat-server
@@ -0,0 +1,12 @@
+# Last Modified: Tue Jul 28 11:44:00 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-server flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ capability setuid,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-server mr,
+
+}
diff --git a/contrib/apparmor/gnunet-helper-testbed b/contrib/apparmor/gnunet-helper-testbed
new file mode 100644
index 000000000..22ac13347
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-testbed
@@ -0,0 +1,37 @@
+# Last Modified: Mon Jul 27 11:02:37 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-testbed flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ /dev/null rw,
+
+ /etc/gai.conf r,
+
+ /usr/lib/ld-*.so r,
+
+ /usr/lib/locale/locale-archive r,
+
+ /usr/share/locale/locale.alias r,
+ /usr/share/locale/fr/LC_MESSAGES/libc.mo r,
+
+ /usr/lib/gconv/gconv-modules r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/ r,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-testbed mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm r,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed Px,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetarm.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettestbed.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettesting.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+
+ @{GNUNET_PREFIX}/share/gnunet/testing_hostkeys.ecc r,
+}
diff --git a/contrib/apparmor/gnunet-helper-transport-wlan b/contrib/apparmor/gnunet-helper-transport-wlan
new file mode 100644
index 000000000..0f1d5cf57
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-transport-wlan
@@ -0,0 +1,12 @@
+# Last Modified: Tue Jul 28 11:44:00 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ capability setuid,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan mr,
+
+}
diff --git a/contrib/apparmor/gnunet-helper-transport-wlan-dummy b/contrib/apparmor/gnunet-helper-transport-wlan-dummy
new file mode 100644
index 000000000..9ad58e5d0
--- /dev/null
+++ b/contrib/apparmor/gnunet-helper-transport-wlan-dummy
@@ -0,0 +1,10 @@
+# Last Modified: Tue Jul 28 11:36:52 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan-dummy flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan-dummy mr,
+
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-vpn b/contrib/apparmor/gnunet-helper-vpn
index 3f9051db3..9be198d76 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-vpn
+++ b/contrib/apparmor/gnunet-helper-vpn
@@ -1,16 +1,21 @@
# Last Modified: Mon Jul 27 11:06:22 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-helper-vpn flags=(complain) {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn flags=(complain) {
+ #Capability
capability net_admin,
capability setuid,
/dev/net/tun rw,
/etc/ld.so.cache r,
+
+ #Librairies
/usr/lib/ld-*.so r,
/usr/lib/libc-*.so mr,
/usr/lib/libm-*.so mr,
- /usr/local/lib/gnunet/libexec/gnunet-helper-vpn mr,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn mr,
}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-namestore-fcfsd b/contrib/apparmor/gnunet-namestore-fcfsd
index 43527ae3b..9c57801a9 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-namestore-fcfsd
+++ b/contrib/apparmor/gnunet-namestore-fcfsd
@@ -1,7 +1,8 @@
# Last Modified: Tue Jul 21 17:25:12 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-namestore-fcfsd {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-namestore-fcfsd {
#include <abstractions/gnunet-common>
#Librairies
@@ -19,12 +20,12 @@
/usr/lib/locale/locale-archive r,
- /usr/local/lib/gnunet/libexec/gnunet-namestore-fcfsd mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-namestore-fcfsd mr,
#Gnunet librairies
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunetidentity.so.* mr,
- /usr/local/lib/libgnunetnamestore.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetidentity.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamestore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
}
diff --git a/contrib/apparmor/gnunet-service-arm b/contrib/apparmor/gnunet-service-arm
new file mode 100644
index 000000000..5428c3ca9
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-arm
@@ -0,0 +1,109 @@
+# Last Modified: Thu Jul 9 10:27:23 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm {
+ #include <abstractions/gnunet-common>
+
+ /dev/null ra,
+
+ /tmp/gnunet-*-runtime/ rw,
+ /tmp/gnunet-*-runtime/gnunet-service-arm.sock rw,
+ /tmp/gnunet-*-runtime/gnunet-service-gns.sock rw,
+ /tmp/gnunet-*-runtime/gnunet-service-identity.unix rw,
+ /tmp/gnunet-*-runtime/gnunet-service-namestore.sock rw,
+
+ /tmp/gnunet-system-runtime/ rw,
+ /tmp/gnunet-system-runtime/gnunet-service-*.sock rw,
+ /tmp/gnunet-system-runtime/gnunet-service-nse.unix rw,
+ /tmp/gnunet-system-runtime/gnunet-service-revocation.unix rw,
+
+ /var/lib/gnunet/.local/share/gnunet/ r,
+ /var/lib/gnunet/.local/share/gnunet/revocation.dat r,
+ /var/lib/gnunet/.local/share/gnunet/peerstore/ a,
+ /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db rwk,
+ /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db-journal rw,
+ /var/lib/gnunet/.config/gnunet.conf r,
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libpthread-*.so mr,
+
+ /usr/lib/libsqlite3.so.* mr,
+
+ /usr/lib/locale/locale-archive r,
+
+ /usr/share/locale/locale-alias r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm mr,
+
+ @{GNUNET_PREFIX}/lib/gnunet/ r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/ r,
+
+ #Gnunet daemon
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-exit Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-hostlist Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-latency-logger Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-underlay Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-topology Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-pt Px,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-dns2gns Px,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-gns-proxy Px,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-namestore-fcfsd Px,
+
+ #Gnunet service
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-ats Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-cadet Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-core Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-conversation Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-datastore Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-dht Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-dns Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-fs Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-gns Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-identity Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-mesh Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namecache Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-nse Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerinfo Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-regex Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-revocation Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-set Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-alice Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-bob Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-statistics Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-template Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed-logger Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-transport Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-vpn Px,
+
+ #Gnunet helper
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-dns r,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsstub.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* r,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamecache.so.* r,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerstore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetregex.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetset.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettun.so.* mr,
+
+ #Gnunet plugin
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr,
+}
diff --git a/contrib/apparmor/gnunet-service-ats b/contrib/apparmor/gnunet-service-ats
new file mode 100644
index 000000000..53e849517
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-ats
@@ -0,0 +1,20 @@
+# Last Modified: Wed Jul 8 10:49:34 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-ats {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-ats mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+
+ #Gnunet plugin
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_ats_proportional.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_ats_proportional.so mr,
+
+ /usr/lib/ld-*.so r,
+}
diff --git a/contrib/apparmor/gnunet-service-cadet b/contrib/apparmor/gnunet-service-cadet
new file mode 100644
index 000000000..07def08ad
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-cadet
@@ -0,0 +1,26 @@
+# Last Modified: Mon Jul 27 11:09:34 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-cadet {
+ #include <abstractions/gnunet-common>
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libpthread-*.so mr,
+ /usr/lib/librt-*.so mr,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-cadet mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetblock.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerinfo.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+
+ /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
+}
diff --git a/contrib/apparmor/gnunet-service-conversation b/contrib/apparmor/gnunet-service-conversation
new file mode 100644
index 000000000..d43c6d7a4
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-conversation
@@ -0,0 +1,28 @@
+# Last Modified: Tue Jul 21 16:53:39 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-conversation {
+ #include <abstractions/gnunet-common>
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libidn.so.* mr,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-conversation mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetconversation.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgns.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetidentity.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetmesh.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetmicrophone.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamestore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetspeaker.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+
+ /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
+}
diff --git a/contrib/apparmor/gnunet-service-core b/contrib/apparmor/gnunet-service-core
new file mode 100644
index 000000000..24fdd641c
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-core
@@ -0,0 +1,20 @@
+# Last Modified: Thu Jul 9 10:16:30 2015
+
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-core {
+ #include <abstractions/gnunet-common>
+
+ /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
+
+ /usr/lib/ld-*.so r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-core mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-datastore b/contrib/apparmor/gnunet-service-datastore
index b38121e65..363946910 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-datastore
+++ b/contrib/apparmor/gnunet-service-datastore
@@ -1,8 +1,9 @@
# Last Modified: Thu Jul 9 10:16:30 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-datastore {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-datastore {
#include <abstractions/gnunet-common>
/var/lib/gnunet/.local/share/gnunet/datastore/bloomfilter.sqlite rw,
@@ -14,13 +15,13 @@
/usr/lib/libpthread-*.so mr,
/usr/lib/libsqlite3.so.* mr,
- /usr/local/lib/gnunet/libexec/gnunet-service-datastore mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-datastore mr,
#Gnunet plugin
- /usr/local/lib/gnunet/libgnunet_plugin_datastore_sqlite.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_datastore_sqlite.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_datastore_sqlite.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_datastore_sqlite.so mr,
#Gnunet Librairies
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunetutil.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetutil.so.* mr,
}
diff --git a/contrib/apparmor/gnunet-service-dht b/contrib/apparmor/gnunet-service-dht
new file mode 100644
index 000000000..67c45beb8
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-dht
@@ -0,0 +1,57 @@
+# Last Modified: Fri Jul 3 17:37:39 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-dht {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-dht mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnse.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerinfo.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetblock.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdatacache.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetfs.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdatastore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetregexblock.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+
+ #Gnunet plugin
+ @{GNUNET_PREFIX}/lib/gnunet/ r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_template.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_template.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dns.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dns.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_fs.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_fs.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_regex.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_regex.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dht.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dht.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dht.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_test.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_test.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_gns.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_gns.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_datacache_heap.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_datacache_heap.so mr,
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libextractor.so.* mr,
+ /usr/lib/libbz2.so.* mr,
+ /usr/lib/librt-*.so mr,
+ /usr/lib/libpthread-*.so mr,
+ /usr/lib/libidn.so.* mr,
+
+ /tmp/gnunet-system-runtime/gnunet-service-dht.sock w,
+
+ /tmp/gnunet-datacachebloom* rw,
+}
diff --git a/contrib/apparmor/gnunet-service-dns b/contrib/apparmor/gnunet-service-dns
new file mode 100644
index 000000000..ba8a31ce1
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-dns
@@ -0,0 +1,20 @@
+# Last Modified: Mon Jul 27 15:18:30 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-dns {
+ #include <abstractions/gnunet-common>
+
+ capability setgid,
+
+ /usr/lib/ld-*.so r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-dns Px,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-dns mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetdnsstub.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettun.so.* mr,
+}
diff --git a/contrib/apparmor/gnunet-service-fs b/contrib/apparmor/gnunet-service-fs
new file mode 100644
index 000000000..3d792e44d
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-fs
@@ -0,0 +1,60 @@
+# Last Modified: Wed Jul 8 10:52:48 2015
+
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-fs {
+ #include <abstractions/gnunet-common>
+
+ /etc/gnunet.conf r,
+ @{HOME}/.config/gnunet.conf r,
+
+ /tmp/gnunet-system-runtime/gnunet-service-fs.sock w,
+
+ /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
+
+ owner @{HOME}/.local/share/gnunet/fs/idxinfo.lst r,
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+ /usr/lib/libbz2.so.* mr,
+ /usr/lib/libextractor.so.* mr,
+ /usr/lib/libidn.so.* mr,
+ /usr/lib/libpthread-*.so mr,
+ /usr/lib/librt-*.so mr,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-fs mr,
+
+ #Gnunet plugin
+ @{GNUNET_PREFIX}/lib/gnunet/ r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dht.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dht.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dns.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dns.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_fs.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_fs.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_gns.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_gns.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_regex.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_regex.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_template.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_template.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_test.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_test.so mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetblock.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdatastore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetfs.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetmesh.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerstore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetregexblock.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+}
diff --git a/contrib/apparmor/gnunet-service-gns b/contrib/apparmor/gnunet-service-gns
new file mode 100644
index 000000000..b271eecba
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-gns
@@ -0,0 +1,30 @@
+# Last Modified: Wed Jul 8 15:17:46 2015
+
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-gns {
+ #include <abstractions/gnunet-common>
+
+ @{HOME}/.config/gnunet.conf r,
+
+ #Librairies
+ /usr/lib/ld-2.21.so r,
+ /usr/lib/libidn.so.* mr,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-gns mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdns.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsstub.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetidentity.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamecache.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamestore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetrevocation.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettun.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetvpn.so.* mr,
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-identity b/contrib/apparmor/gnunet-service-identity
index 7e550acb9..8cf0f99b6 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-identity
+++ b/contrib/apparmor/gnunet-service-identity
@@ -1,7 +1,8 @@
# Last Modified: Tue Jul 21 11:51:29 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-identity {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-identity {
#include <abstractions/gnunet-common>
/tmp/gnunet-*-runtime/ a,
@@ -11,8 +12,8 @@
/var/lib/gnunet/.local/share/gnunet/identity/ a,
/var/lib/gnunet/.local/share/gnunet/identity/egos/ ra,
- /usr/local/lib/gnunet/libexec/gnunet-service-identity mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-identity mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
@{HOME}/.config/gnunet/identity/subsystem_defaults.conf rw,
diff --git a/contrib/apparmor/gnunet-service-mesh b/contrib/apparmor/gnunet-service-mesh
new file mode 100644
index 000000000..91c3044ae
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-mesh
@@ -0,0 +1,30 @@
+# Last Modified: Fri Jul 3 17:37:56 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-mesh {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-mesh mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerinfo.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetblock.so.* mr,
+
+ #Librairies
+ /usr/lib/librt-*.so mr,
+ /usr/lib/libpthread-*.so mr,
+ /usr/lib/ld-*.so r,
+
+ @{HOME}/.local/share/gnunet/private_key.ecc rk,
+
+ /tmp/gnunet-system-runtime/gnunet-service-mesh.sock w,
+
+ /var/lib/gnunet/.local/share/gnunet/private_key.ecc rwk,
+}
diff --git a/contrib/apparmor/gnunet-service-namecache b/contrib/apparmor/gnunet-service-namecache
new file mode 100644
index 000000000..8b5f21103
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-namecache
@@ -0,0 +1,30 @@
+# Last Modified: Thu Jul 9 10:01:49 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namecache {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namecache mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamecache.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+
+ #Gnunet plugin
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namecache_sqlite.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namecache_sqlite.so mr,
+
+ /var/lib/gnunet/.local/share/gnunet/namecache/ r,
+ /var/lib/gnunet/.local/share/gnunet/namecache/sqlite.db rwk,
+ /var/lib/gnunet/.local/share/gnunet/namecache/sqlite.db-journal rw,
+
+ #Librairies
+ /usr/lib/libpthread-*.so mr,
+ /usr/lib/libsqlite3.so.* mr,
+ /usr/lib/libidn.so.* mr,
+ /usr/lib/ld-*.so r,
+}
+
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-namestore b/contrib/apparmor/gnunet-service-namestore
index 3b917a2a3..68b94e6aa 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-namestore
+++ b/contrib/apparmor/gnunet-service-namestore
@@ -1,21 +1,22 @@
# Last Modified: Tue Jul 7 10:43:41 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-namestore {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore {
#include <abstractions/gnunet-common>
- /usr/local/lib/gnunet/libexec/gnunet-service-namestore mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-namestore mr,
#Gnunet librairies
- /usr/local/lib/libgnunetnamecache.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunetnamestore.so.* mr,
- /usr/local/lib/libgnunetdnsparser.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamecache.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetgnsrecord.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnamestore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetdnsparser.so.* mr,
#Gnunet plugin
- /usr/local/lib/gnunet/libgnunet_plugin_namestore_sqlite.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_namestore_sqlite.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_namestore_sqlite.so mr,
#Librairies
/usr/lib/libidn.so.* mr,
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-nse b/contrib/apparmor/gnunet-service-nse
index 54acd5215..a3f7f2a12 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-nse
+++ b/contrib/apparmor/gnunet-service-nse
@@ -1,15 +1,16 @@
# Last Modified: Fri Jul 3 17:37:49 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-nse {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-nse {
#include <abstractions/gnunet-common>
- /usr/local/lib/gnunet/libexec/gnunet-service-nse mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-nse mr,
#Gnunet librairies
- /usr/local/lib/libgnunetnse.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnse.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
/usr/lib/ld-*.so mr,
diff --git a/contrib/apparmor/gnunet-service-peerinfo b/contrib/apparmor/gnunet-service-peerinfo
new file mode 100644
index 000000000..1ce4a85f8
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-peerinfo
@@ -0,0 +1,21 @@
+# Last Modified: Wed Jul 8 17:03:17 2015
+
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerinfo {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/share/gnunet/hellos/ r,
+ @{GNUNET_PREFIX}/share/gnunet/hellos/* r,
+
+ /var/lib/gnunet/.local/share/gnunet/peerinfo/hosts/ r,
+ /var/lib/gnunet/.local/share/gnunet/peerinfo/hosts/* rw,
+
+ /usr/lib/ld-*.so r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerinfo mr,
+
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore b/contrib/apparmor/gnunet-service-peerstore
index 0f9f8ed8c..536e4ee0f 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerstore
+++ b/contrib/apparmor/gnunet-service-peerstore
@@ -1,7 +1,8 @@
# Last Modified: Mon Jul 27 11:06:13 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-peerstore {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore {
#include <abstractions/gnunet-common>
#Librairies
@@ -9,14 +10,14 @@
/usr/lib/libpthread-*.so mr,
/usr/lib/libsqlite3.so.* mr,
- /usr/local/lib/gnunet/libexec/gnunet-service-peerstore mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-peerstore mr,
#Gnunet Plugin
- /usr/local/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr,
#Gnunet librairies
- /usr/local/lib/libgnunetpeerstore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerstore.so.* mr,
/var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db rwk,
/var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db-journal rw,
diff --git a/contrib/apparmor/gnunet-service-regex b/contrib/apparmor/gnunet-service-regex
new file mode 100644
index 000000000..358675dc0
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-regex
@@ -0,0 +1,18 @@
+# Last Modified: Tue Jul 21 16:59:39 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-regex {
+ #include <abstractions/gnunet-common>
+
+ /usr/lib/ld-*.so r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-regex mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetdht.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetregexblock.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+
+ /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-resolver b/contrib/apparmor/gnunet-service-resolver
index 0ffa5cea2..6c5e3eb60 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-resolver
+++ b/contrib/apparmor/gnunet-service-resolver
@@ -1,10 +1,11 @@
# Last Modified: Thu Jul 9 10:01:36 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-resolver {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver {
#include <abstractions/gnunet-common>
- /usr/local/lib/gnunet/libexec/gnunet-service-resolver mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver mr,
#Librairies
/usr/lib/ld-*.so r,
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-revocation b/contrib/apparmor/gnunet-service-revocation
index c226502b3..6e6412820 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-revocation
+++ b/contrib/apparmor/gnunet-service-revocation
@@ -1,8 +1,9 @@
# Last Modified: Thu Jul 9 10:16:30 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-revocation {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-revocation {
#include <abstractions/gnunet-common>
/etc/gnunet.conf r,
@@ -16,11 +17,11 @@
/usr/lib/ld-*.so r,
- /usr/local/lib/gnunet/libexec/gnunet-service-revocation mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-revocation mr,
#Gnunet librairies
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetrevocation.so.* mr,
- /usr/local/lib/libgnunetset.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetrevocation.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetset.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
}
diff --git a/contrib/apparmor/gnunet-service-scalarproduct-alice b/contrib/apparmor/gnunet-service-scalarproduct-alice
new file mode 100644
index 000000000..7a7ba77d5
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-scalarproduct-alice
@@ -0,0 +1,13 @@
+# Last Modified: Mon Jul 27 15:48:05 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-alice {
+ #include <abstractions/gnunet-common>
+
+ /usr/lib/ld-*.so r,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-alice mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetset.so.* mr,
+
+}
diff --git a/contrib/apparmor/gnunet-service-scalarproduct-bob b/contrib/apparmor/gnunet-service-scalarproduct-bob
new file mode 100644
index 000000000..a7faae9d0
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-scalarproduct-bob
@@ -0,0 +1,14 @@
+# Last Modified: Mon Jul 27 15:48:05 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-bob {
+ #include <abstractions/gnunet-common>
+
+ /usr/lib/ld-*.so r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-bob mr,
+
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetset.so.* mr,
+}
diff --git a/contrib/apparmor/gnunet-service-set b/contrib/apparmor/gnunet-service-set
new file mode 100644
index 000000000..d290f7eda
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-set
@@ -0,0 +1,18 @@
+# Last Modified: Wed Jul 8 10:52:48 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-set {
+ #include <abstractions/gnunet-common>
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-set mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetmesh.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetblock.so.* mr,
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+}
diff --git a/contrib/apparmor/gnunet-service-statistics b/contrib/apparmor/gnunet-service-statistics
new file mode 100644
index 000000000..e26e30edc
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-statistics
@@ -0,0 +1,16 @@
+# Last Modified: Thu Jul 9 10:16:30 2015
+
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-statistics {
+ #include <abstractions/gnunet-common>
+
+ /var/lib/gnunet/.local/share/gnunet/statistics.dat rw,
+
+ /usr/lib/ld-*.so r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-statistics mr,
+
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-template b/contrib/apparmor/gnunet-service-template
index 15a00cbee..824183e78 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-template
+++ b/contrib/apparmor/gnunet-service-template
@@ -1,7 +1,8 @@
# Last Modified: Tue Jul 21 16:06:04 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-template {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-template {
#include <abstractions/gnunet-common>
/tmp/gnunet-system-runtime/ w,
@@ -11,5 +12,5 @@
/usr/lib/ld-*.so r,
#Gnunet Librairies
- /usr/local/lib/gnunet/libexec/gnunet-service-template mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-template mr,
}
diff --git a/contrib/apparmor/gnunet-service-testbed b/contrib/apparmor/gnunet-service-testbed
new file mode 100644
index 000000000..06e8f36ea
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-testbed
@@ -0,0 +1,36 @@
+# Last Modified: Mon Jul 27 11:02:46 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed flags=(complain) {
+ #include <abstractions/gnunet-common>
+
+ /etc/gai.conf r,
+
+ /tmp/gnunet-system-runtime/ w,
+ /tmp/gnunet-system-runtime/gnunet-service-testbed-barrier.sock w,
+ /tmp/gnunet-system-runtime/gnunet-service-testbed.sock w,
+
+ /usr/lib/ld-*.so r,
+
+ /dev/null r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-* r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/ r,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm Px,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetarm.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetcore.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettestbed.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettesting.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+
+ @{GNUNET_PREFIX}/share/gnunet/testing_hostkeys.ecc r,
+
+}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-testbed-logger b/contrib/apparmor/gnunet-service-testbed-logger
index b646b9450..5bd6a77d3 100644
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-testbed-logger
+++ b/contrib/apparmor/gnunet-service-testbed-logger
@@ -1,7 +1,8 @@
# Last Modified: Tue Jul 21 17:19:18 2015
#include <tunables/global>
+#include <tunables/gnunet>
-/usr/local/lib/gnunet/libexec/gnunet-service-testbed-logger {
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed-logger {
#include <abstractions/gnunet-common>
#???
@@ -12,5 +13,5 @@
/usr/lib/ld-*.so r,
- /usr/local/lib/gnunet/libexec/gnunet-service-testbed-logger mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed-logger mr,
}
diff --git a/contrib/apparmor/gnunet-service-transport b/contrib/apparmor/gnunet-service-transport
new file mode 100644
index 000000000..52985cf1b
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-transport
@@ -0,0 +1,29 @@
+# Last Modified: Thu Jul 9 10:16:30 2015
+
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-transport {
+ #include <abstractions/gnunet-common>
+
+ /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
+
+ /usr/lib/ld-*.so r,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-transport mr,
+
+ #Gnunet plugin
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_transport_tcp.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_transport_tcp.so mr,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_transport_udp.la r,
+ @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_transport_udp.so mr,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetats.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetfragmentation.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunethello.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetnat.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetpeerinfo.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettransport.so.* mr,
+}
diff --git a/contrib/apparmor/gnunet-service-vpn b/contrib/apparmor/gnunet-service-vpn
new file mode 100644
index 000000000..56845568e
--- /dev/null
+++ b/contrib/apparmor/gnunet-service-vpn
@@ -0,0 +1,28 @@
+# Last Modified: Mon Jul 20 11:20:57 2015
+#include <tunables/global>
+#include <tunables/gnunet>
+
+profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-vpn {
+ #include <abstractions/gnunet-common>
+
+ #Capability
+ capability setuid,
+ capability net_admin,
+
+ /dev/net/tun rw,
+
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-vpn mr,
+
+ #Librairies
+ /usr/lib/ld-*.so r,
+
+ #Gnunet helper
+ @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn Px,
+
+ #Gnunet librairies
+ @{GNUNET_PREFIX}/lib/libgnunetcadet.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetmesh.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetregex.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunetstatistics.so.* mr,
+ @{GNUNET_PREFIX}/lib/libgnunettun.so.* mr,
+}
diff --git a/contrib/apparmor/tunables/gnunet b/contrib/apparmor/tunables/gnunet
new file mode 100644
index 000000000..e7ff8256a
--- /dev/null
+++ b/contrib/apparmor/tunables/gnunet
@@ -0,0 +1 @@
+@{GNUNET_PREFIX}=/usr/local
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-exit b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-exit
deleted file mode 100644
index 122b729bd..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-exit
+++ /dev/null
@@ -1,23 +0,0 @@
-# Last Modified: Mon Jul 27 15:57:50 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-daemon-exit {
- #include <abstractions/gnunet-common>
-
- /usr/lib/ld-*.so r,
-
- /usr/lib/locale/locale-archive r,
-
- /usr/local/lib/gnunet/libexec/gnunet-daemon-exit mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetdnsstub.so.* mr,
- /usr/local/lib/libgnunetregex.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettun.so.* mr,
-
- /usr/share/locale/locale.alias r,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-pt b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-pt
deleted file mode 100644
index 95a1bcf52..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-pt
+++ /dev/null
@@ -1,25 +0,0 @@
-# Last Modified: Mon Jul 20 17:48:20 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-daemon-pt {
- #include <abstractions/gnunet-common>
-
- #Librairies
- /usr/lib/ld-*.so r,
- /usr/lib/libidn.so.* mr,
-
- /usr/lib/locale/locale-archive r,
-
- /usr/local/lib/gnunet/libexec/gnunet-daemon-pt mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetdns.so.* mr,
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetmesh.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunetvpn.so.* mr,
-
- /usr/share/locale/locale.alias r,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-regexprofiler b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-regexprofiler
deleted file mode 100644
index da3d40887..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-regexprofiler
+++ /dev/null
@@ -1,12 +0,0 @@
-# Last Modified: Tue Jul 28 11:42:58 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-daemon-regexprofiler flags=(complain) {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-daemon-regexprofiler mr,
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetregexblock.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-blacklist b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-blacklist
deleted file mode 100644
index 15fa9ffe5..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-blacklist
+++ /dev/null
@@ -1,12 +0,0 @@
-# Last Modified: Tue Jul 28 11:42:58 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-daemon-testbed-blacklist flags=(complain) {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-daemon-testbed-blacklist mr,
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-underlay b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-underlay
deleted file mode 100644
index 260b60400..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-testbed-underlay
+++ /dev/null
@@ -1,22 +0,0 @@
-# Last Modified: Mon Jul 27 16:37:03 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-daemon-testbed-underlay {
- #include <abstractions/gnunet-common>
-
- #Librairies
- /usr/lib/ld-*.so r,
- /usr/lib/libpthread-*.so mr,
- /usr/lib/libsqlite3.so.* mr,
-
- /usr/lib/locale/locale-archive r,
-
- /usr/local/lib/gnunet/libexec/gnunet-daemon-testbed-underlay mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
-
- /usr/share/locale/locale.alias r,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-topology b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-topology
deleted file mode 100644
index eb1d9306f..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-daemon-topology
+++ /dev/null
@@ -1,26 +0,0 @@
-# Last Modified: Fri Jul 3 17:37:12 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-daemon-topology {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-daemon-topology mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetfriends.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetpeerinfo.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
-
- /usr/lib/ld-*.so r,
-
- /usr/lib//locale/locale-archive r,
-
- /usr/lib/gconv/gconv-modules r,
-
- /usr/share/locale/locale.alias r,
- /usr/share/locale/fr/LC_MESSAGES/libc.mo r,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-dns2gns b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-dns2gns
deleted file mode 100644
index 5b1bdc2b0..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-dns2gns
+++ /dev/null
@@ -1,25 +0,0 @@
-# Last Modified: Tue Jul 21 16:45:05 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-dns2gns {
- #include <abstractions/gnunet-common>
-
- #Librairies
- /usr/lib/ld-*.so r,
- /usr/lib/libidn.so.* mr,
-
- /usr/lib/locale/locale-archive r,
-
- /usr/local/lib/gnunet/libexec/gnunet-dns2gns mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetdnsstub.so.* mr,
- /usr/local/lib/libgnunetgns.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunetidentity.so.* mr,
- /usr/local/lib/libgnunetnamestore.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
-
- /usr/share/locale/locale.alias r,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-playback b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-playback
deleted file mode 100644
index b6663899e..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-playback
+++ /dev/null
@@ -1,9 +0,0 @@
-# Last Modified: Tue Jul 28 11:46:24 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-audio-playback flags=(complain) {
- #include <abstractions/gnunet-common>
- #include <abstractions/gnunet-libaudio>
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-audio-playback mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-record b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-record
deleted file mode 100644
index e0a41edc3..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-audio-record
+++ /dev/null
@@ -1,9 +0,0 @@
-# Last Modified: Tue Jul 28 11:42:58 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-audio-record flags=(complain) {
- #include <abstractions/gnunet-common>
- #include <abstractions/gnunet-libaudio>
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-audio-record mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-exit b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-exit
deleted file mode 100644
index e18b49358..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-exit
+++ /dev/null
@@ -1,11 +0,0 @@
-# Last Modified: Tue Jul 28 11:44:00 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-exit flags=(complain) {
- #include <abstractions/gnunet-common>
-
- capability setuid,
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-exit mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-client b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-client
deleted file mode 100644
index 32cb42552..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-client
+++ /dev/null
@@ -1,11 +0,0 @@
-# Last Modified: Tue Jul 28 11:44:00 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-nat-client flags=(complain) {
- #include <abstractions/gnunet-common>
-
- capability setuid,
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-nat-client mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-server b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-server
deleted file mode 100644
index c3bd37910..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-nat-server
+++ /dev/null
@@ -1,11 +0,0 @@
-# Last Modified: Tue Jul 28 11:44:00 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-nat-server flags=(complain) {
- #include <abstractions/gnunet-common>
-
- capability setuid,
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-nat-server mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-testbed b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-testbed
deleted file mode 100644
index 8c6748d4a..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-testbed
+++ /dev/null
@@ -1,36 +0,0 @@
-# Last Modified: Mon Jul 27 11:02:37 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-testbed flags=(complain) {
- #include <abstractions/gnunet-common>
-
- /dev/null rw,
-
- /etc/gai.conf r,
-
- /usr/lib/ld-*.so r,
-
- /usr/lib/locale/locale-archive r,
-
- /usr/share/locale/locale.alias r,
- /usr/share/locale/fr/LC_MESSAGES/libc.mo r,
-
- /usr/lib/gconv/gconv-modules r,
-
- /usr/local/lib/gnunet/libexec/ r,
- /usr/local/lib/gnunet/libexec/gnunet-helper-testbed mr,
- /usr/local/lib/gnunet/libexec/gnunet-service-arm r,
- /usr/local/lib/gnunet/libexec/gnunet-service-testbed Px,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetarm.so.* mr,
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettestbed.so.* mr,
- /usr/local/lib/libgnunettesting.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
-
- /usr/local/share/gnunet/testing_hostkeys.ecc r,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan
deleted file mode 100644
index 6f2f98e15..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan
+++ /dev/null
@@ -1,11 +0,0 @@
-# Last Modified: Tue Jul 28 11:44:00 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-transport-wlan flags=(complain) {
- #include <abstractions/gnunet-common>
-
- capability setuid,
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-transport-wlan mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan-dummy b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan-dummy
deleted file mode 100644
index d9ffed813..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-helper-transport-wlan-dummy
+++ /dev/null
@@ -1,9 +0,0 @@
-# Last Modified: Tue Jul 28 11:36:52 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-helper-transport-wlan-dummy flags=(complain) {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-transport-wlan-dummy mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-arm b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-arm
deleted file mode 100644
index fe3f037ed..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-arm
+++ /dev/null
@@ -1,109 +0,0 @@
-# Last Modified: Thu Jul 9 10:27:23 2015
-
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-arm {
- #include <abstractions/gnunet-common>
-
- /dev/null ra,
-
- /tmp/gnunet-*-runtime/ rw,
- /tmp/gnunet-*-runtime/gnunet-service-arm.sock rw,
- /tmp/gnunet-*-runtime/gnunet-service-gns.sock rw,
- /tmp/gnunet-*-runtime/gnunet-service-identity.unix rw,
- /tmp/gnunet-*-runtime/gnunet-service-namestore.sock rw,
-
- /tmp/gnunet-system-runtime/ rw,
- /tmp/gnunet-system-runtime/gnunet-service-*.sock rw,
- /tmp/gnunet-system-runtime/gnunet-service-nse.unix rw,
- /tmp/gnunet-system-runtime/gnunet-service-revocation.unix rw,
-
- /var/lib/gnunet/.local/share/gnunet/ r,
- /var/lib/gnunet/.local/share/gnunet/revocation.dat r,
- /var/lib/gnunet/.local/share/gnunet/peerstore/ a,
- /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db rwk,
- /var/lib/gnunet/.local/share/gnunet/peerstore/sqlite.db-journal rw,
- /var/lib/gnunet/.config/gnunet.conf r,
-
- #Librairies
- /usr/lib/ld-*.so r,
- /usr/lib/libpthread-*.so mr,
-
- /usr/lib/libsqlite3.so.* mr,
-
- /usr/lib/locale/locale-archive r,
-
- /usr/share/locale/locale-alias r,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-arm mr,
-
- /usr/local/lib/gnunet/ r,
-
- /usr/local/lib/gnunet/libexec/ r,
-
- #Gnunet daemon
- /usr/local/lib/gnunet/libexec/gnunet-daemon-exit Px,
- /usr/local/lib/gnunet/libexec/gnunet-daemon-hostlist Px,
- /usr/local/lib/gnunet/libexec/gnunet-daemon-latency-logger Px,
- /usr/local/lib/gnunet/libexec/gnunet-daemon-testbed-underlay Px,
- /usr/local/lib/gnunet/libexec/gnunet-daemon-topology Px,
- /usr/local/lib/gnunet/libexec/gnunet-daemon-pt Px,
-
- /usr/local/lib/gnunet/libexec/gnunet-dns2gns Px,
-
- /usr/local/lib/gnunet/libexec/gnunet-gns-proxy Px,
-
- /usr/local/lib/gnunet/libexec/gnunet-namestore-fcfsd Px,
-
- #Gnunet service
- /usr/local/lib/gnunet/libexec/gnunet-service-ats Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-cadet Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-core Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-conversation Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-datastore Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-dht Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-dns Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-fs Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-gns Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-identity Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-mesh Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-namecache Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-namestore Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-nse Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-peerinfo Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-peerstore Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-regex Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-resolver Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-revocation Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-set Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-scalarproduct-alice Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-scalarproduct-bob Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-statistics Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-template Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-testbed Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-testbed-logger Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-transport Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-vpn Px,
-
- #Gnunet helper
- /usr/local/lib/gnunet/libexec/gnunet-helper-dns r,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetdnsstub.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* r,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetnamecache.so.* r,
- /usr/local/lib/libgnunetpeerstore.so.* mr,
- /usr/local/lib/libgnunetregex.so.* mr,
- /usr/local/lib/libgnunetset.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
- /usr/local/lib/libgnunettun.so.* mr,
-
- #Gnunet plugin
- /usr/local/lib/gnunet/libgnunet_plugin_peerstore_sqlite.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_peerstore_sqlite.so mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-ats b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-ats
deleted file mode 100644
index 86273dc34..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-ats
+++ /dev/null
@@ -1,19 +0,0 @@
-# Last Modified: Wed Jul 8 10:49:34 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-ats {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-service-ats mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunetats.so.* mr,
-
- #Gnunet plugin
- /usr/local/lib/gnunet/libgnunet_plugin_ats_proportional.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_ats_proportional.so mr,
-
- /usr/lib/ld-*.so r,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-cadet b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-cadet
deleted file mode 100644
index f834a6d05..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-cadet
+++ /dev/null
@@ -1,21 +0,0 @@
-# Last Modified: Mon Jul 27 11:09:34 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-cadet {
- #include <abstractions/gnunet-common>
-
- /usr/lib/ld-*.so r,
- /usr/lib/libpthread-*.so mr,
- /usr/lib/librt-*.so mr,
- /usr/local/lib/gnunet/libexec/gnunet-service-cadet mr,
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetblock.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetpeerinfo.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
- /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-conversation b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-conversation
deleted file mode 100644
index 9b952866e..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-conversation
+++ /dev/null
@@ -1,27 +0,0 @@
-# Last Modified: Tue Jul 21 16:53:39 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-conversation {
- #include <abstractions/gnunet-common>
-
- #Librairies
- /usr/lib/ld-*.so r,
- /usr/lib/libidn.so.* mr,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-conversation mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetconversation.so.* mr,
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetgns.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunetidentity.so.* mr,
- /usr/local/lib/libgnunetmesh.so.* mr,
- /usr/local/lib/libgnunetmicrophone.so.* mr,
- /usr/local/lib/libgnunetnamestore.so.* mr,
- /usr/local/lib/libgnunetspeaker.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
-
- /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-core b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-core
deleted file mode 100644
index e2b4229bb..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-core
+++ /dev/null
@@ -1,19 +0,0 @@
-# Last Modified: Thu Jul 9 10:16:30 2015
-
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-core {
- #include <abstractions/gnunet-common>
-
- /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
-
- /usr/lib/ld-*.so r,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-core mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dht b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dht
deleted file mode 100644
index 224465cd5..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dht
+++ /dev/null
@@ -1,56 +0,0 @@
-# Last Modified: Fri Jul 3 17:37:39 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-dht {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-service-dht mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetnse.so.* mr,
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
- /usr/local/lib/libgnunetpeerinfo.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetblock.so.* mr,
- /usr/local/lib/libgnunetdatacache.so.* mr,
- /usr/local/lib/libgnunetfs.so.* mr,
- /usr/local/lib/libgnunetdatastore.so.* mr,
- /usr/local/lib/libgnunetregexblock.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunetdnsparser.so.* mr,
-
- #Gnunet plugin
- /usr/local/lib/gnunet/ r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_template.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_template.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dns.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dns.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_fs.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_fs.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_regex.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_regex.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dht.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dht.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dht.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_test.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_test.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_gns.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_gns.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_datacache_heap.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_datacache_heap.so mr,
-
- #Librairies
- /usr/lib/ld-*.so r,
- /usr/lib/libextractor.so.* mr,
- /usr/lib/libbz2.so.* mr,
- /usr/lib/librt-*.so mr,
- /usr/lib/libpthread-*.so mr,
- /usr/lib/libidn.so.* mr,
-
- /tmp/gnunet-system-runtime/gnunet-service-dht.sock w,
-
- /tmp/gnunet-datacachebloom* rw,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dns b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dns
deleted file mode 100644
index 2f2dd711a..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-dns
+++ /dev/null
@@ -1,19 +0,0 @@
-# Last Modified: Mon Jul 27 15:18:30 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-dns {
- #include <abstractions/gnunet-common>
-
- capability setgid,
-
- /usr/lib/ld-*.so r,
-
- /usr/local/lib/gnunet/libexec/gnunet-helper-dns Px,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-dns mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetdnsstub.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettun.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-fs b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-fs
deleted file mode 100644
index 247d29282..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-fs
+++ /dev/null
@@ -1,59 +0,0 @@
-# Last Modified: Wed Jul 8 10:52:48 2015
-
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-fs {
- #include <abstractions/gnunet-common>
-
- /etc/gnunet.conf r,
- @{HOME}/.config/gnunet.conf r,
-
- /tmp/gnunet-system-runtime/gnunet-service-fs.sock w,
-
- /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
-
- owner @{HOME}/.local/share/gnunet/fs/idxinfo.lst r,
-
- #Librairies
- /usr/lib/ld-*.so r,
- /usr/lib/libbz2.so.* mr,
- /usr/lib/libextractor.so.* mr,
- /usr/lib/libidn.so.* mr,
- /usr/lib/libpthread-*.so mr,
- /usr/lib/librt-*.so mr,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-fs mr,
-
- #Gnunet plugin
- /usr/local/lib/gnunet/ r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dht.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dht.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dns.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_dns.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_fs.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_fs.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_gns.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_gns.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_regex.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_regex.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_template.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_template.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_block_test.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_block_test.so mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetblock.so.* mr,
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetdatastore.so.* mr,
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetfs.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetmesh.so.* mr,
- /usr/local/lib/libgnunetpeerstore.so.* mr,
- /usr/local/lib/libgnunetregexblock.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-gns b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-gns
deleted file mode 100644
index c7f650d1b..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-gns
+++ /dev/null
@@ -1,29 +0,0 @@
-# Last Modified: Wed Jul 8 15:17:46 2015
-
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-gns {
- #include <abstractions/gnunet-common>
-
- @{HOME}/.config/gnunet.conf r,
-
- #Librairies
- /usr/lib/ld-2.21.so r,
- /usr/lib/libidn.so.* mr,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-gns mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetdns.so.* mr,
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetdnsstub.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
- /usr/local/lib/libgnunetidentity.so.* mr,
- /usr/local/lib/libgnunetnamecache.so.* mr,
- /usr/local/lib/libgnunetnamestore.so.* mr,
- /usr/local/lib/libgnunetrevocation.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettun.so.* mr,
- /usr/local/lib/libgnunetvpn.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-mesh b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-mesh
deleted file mode 100644
index 1496e228f..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-mesh
+++ /dev/null
@@ -1,29 +0,0 @@
-# Last Modified: Fri Jul 3 17:37:56 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-mesh {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-service-mesh mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunetpeerinfo.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetblock.so.* mr,
-
- #Librairies
- /usr/lib/librt-*.so mr,
- /usr/lib/libpthread-*.so mr,
- /usr/lib/ld-*.so r,
-
- @{HOME}/.local/share/gnunet/private_key.ecc rk,
-
- /tmp/gnunet-system-runtime/gnunet-service-mesh.sock w,
-
- /var/lib/gnunet/.local/share/gnunet/private_key.ecc rwk,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-namecache b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-namecache
deleted file mode 100644
index 6338c9a5b..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-namecache
+++ /dev/null
@@ -1,29 +0,0 @@
-# Last Modified: Thu Jul 9 10:01:49 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-namecache {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-service-namecache mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetdnsparser.so.* mr,
- /usr/local/lib/libgnunetnamecache.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunetgnsrecord.so.* mr,
-
- #Gnunet plugin
- /usr/local/lib/gnunet/libgnunet_plugin_namecache_sqlite.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_namecache_sqlite.so mr,
-
- /var/lib/gnunet/.local/share/gnunet/namecache/ r,
- /var/lib/gnunet/.local/share/gnunet/namecache/sqlite.db rwk,
- /var/lib/gnunet/.local/share/gnunet/namecache/sqlite.db-journal rw,
-
- #Librairies
- /usr/lib/libpthread-*.so mr,
- /usr/lib/libsqlite3.so.* mr,
- /usr/lib/libidn.so.* mr,
- /usr/lib/ld-*.so r,
-}
-
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerinfo b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerinfo
deleted file mode 100644
index 8c7f079b4..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-peerinfo
+++ /dev/null
@@ -1,20 +0,0 @@
-# Last Modified: Wed Jul 8 17:03:17 2015
-
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-peerinfo {
- #include <abstractions/gnunet-common>
-
- /usr/local/share/gnunet/hellos/ r,
- /usr/local/share/gnunet/hellos/* r,
-
- /var/lib/gnunet/.local/share/gnunet/peerinfo/hosts/ r,
- /var/lib/gnunet/.local/share/gnunet/peerinfo/hosts/* rw,
-
- /usr/lib/ld-*.so r,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-peerinfo mr,
-
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-regex b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-regex
deleted file mode 100644
index e82f0483a..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-regex
+++ /dev/null
@@ -1,17 +0,0 @@
-# Last Modified: Tue Jul 21 16:59:39 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-regex {
- #include <abstractions/gnunet-common>
-
- /usr/lib/ld-*.so r,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-regex mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetdht.so.* mr,
- /usr/local/lib/libgnunetregexblock.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
-
- /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-alice b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-alice
deleted file mode 100644
index e61a20daa..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-alice
+++ /dev/null
@@ -1,12 +0,0 @@
-# Last Modified: Mon Jul 27 15:48:05 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-scalarproduct-alice {
- #include <abstractions/gnunet-common>
-
- /usr/lib/ld-*.so r,
- /usr/local/lib/gnunet/libexec/gnunet-service-scalarproduct-alice mr,
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetset.so.* mr,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-bob b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-bob
deleted file mode 100644
index c48ac50dc..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-scalarproduct-bob
+++ /dev/null
@@ -1,11 +0,0 @@
-# Last Modified: Mon Jul 27 15:48:05 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-scalarproduct-bob {
- #include <abstractions/gnunet-common>
-
- /usr/lib/ld-*.so r,
- /usr/local/lib/gnunet/libexec/gnunet-service-scalarproduct-bob mr,
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetset.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-set b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-set
deleted file mode 100644
index d711f132c..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-set
+++ /dev/null
@@ -1,17 +0,0 @@
-# Last Modified: Wed Jul 8 10:52:48 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-set {
- #include <abstractions/gnunet-common>
-
- /usr/local/lib/gnunet/libexec/gnunet-service-set mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunetmesh.so.* mr,
- /usr/local/lib/libgnunetblock.so.* mr,
-
- #Librairies
- /usr/lib/ld-*.so r,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-statistics b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-statistics
deleted file mode 100644
index 1ff8a8fd1..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-statistics
+++ /dev/null
@@ -1,15 +0,0 @@
-# Last Modified: Thu Jul 9 10:16:30 2015
-
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-statistics {
- #include <abstractions/gnunet-common>
-
- /var/lib/gnunet/.local/share/gnunet/statistics.dat rw,
-
- /usr/lib/ld-*.so r,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-statistics mr,
-
- /usr/local/lib/libgnunetstatistics.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-testbed b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-testbed
deleted file mode 100644
index de9ad2675..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-testbed
+++ /dev/null
@@ -1,35 +0,0 @@
-# Last Modified: Mon Jul 27 11:02:46 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-testbed flags=(complain) {
- #include <abstractions/gnunet-common>
-
- /etc/gai.conf r,
-
- /tmp/gnunet-system-runtime/ w,
- /tmp/gnunet-system-runtime/gnunet-service-testbed-barrier.sock w,
- /tmp/gnunet-system-runtime/gnunet-service-testbed.sock w,
-
- /usr/lib/ld-*.so r,
-
- /dev/null r,
-
- /usr/local/lib/gnunet/libexec/gnunet-* r,
-
- /usr/local/lib/gnunet/libexec/ r,
- /usr/local/lib/gnunet/libexec/gnunet-service-arm Px,
- /usr/local/lib/gnunet/libexec/gnunet-service-testbed mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetarm.so.* mr,
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetcore.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettestbed.so.* mr,
- /usr/local/lib/libgnunettesting.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
-
- /usr/local/share/gnunet/testing_hostkeys.ecc r,
-
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-transport b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-transport
deleted file mode 100644
index b50541f4c..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-transport
+++ /dev/null
@@ -1,28 +0,0 @@
-# Last Modified: Thu Jul 9 10:16:30 2015
-
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-transport {
- #include <abstractions/gnunet-common>
-
- /var/lib/gnunet/.local/share/gnunet/private_key.ecc rk,
-
- /usr/lib/ld-*.so r,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-transport mr,
-
- #Gnunet plugin
- /usr/local/lib/gnunet/libgnunet_plugin_transport_tcp.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_transport_tcp.so mr,
- /usr/local/lib/gnunet/libgnunet_plugin_transport_udp.la r,
- /usr/local/lib/gnunet/libgnunet_plugin_transport_udp.so mr,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetats.so.* mr,
- /usr/local/lib/libgnunetfragmentation.so.* mr,
- /usr/local/lib/libgnunethello.so.* mr,
- /usr/local/lib/libgnunetnat.so.* mr,
- /usr/local/lib/libgnunetpeerinfo.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettransport.so.* mr,
-}
diff --git a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-vpn b/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-vpn
deleted file mode 100644
index 48fda8563..000000000
--- a/contrib/apparmor/usr.local.lib.gnunet.libexec.gnunet-service-vpn
+++ /dev/null
@@ -1,26 +0,0 @@
-# Last Modified: Mon Jul 20 11:20:57 2015
-#include <tunables/global>
-
-/usr/local/lib/gnunet/libexec/gnunet-service-vpn {
- #include <abstractions/gnunet-common>
-
- capability setuid,
- capability net_admin,
-
- /dev/net/tun rw,
-
- /usr/local/lib/gnunet/libexec/gnunet-service-vpn mr,
-
- #Librairies
- /usr/lib/ld-*.so r,
-
- #Gnunet helper
- /usr/local/lib/gnunet/libexec/gnunet-helper-vpn Px,
-
- #Gnunet librairies
- /usr/local/lib/libgnunetcadet.so.* mr,
- /usr/local/lib/libgnunetmesh.so.* mr,
- /usr/local/lib/libgnunetregex.so.* mr,
- /usr/local/lib/libgnunetstatistics.so.* mr,
- /usr/local/lib/libgnunettun.so.* mr,
-}