git » apparmor » commit 2298a69

Add leafnode

author Alberto Bertogli
2014-11-15 18:38:35 UTC
committer Alberto Bertogli
2014-11-15 18:38:35 UTC
parent f65e25bf4f21aa2b870e89f49d98817e4e81396d

Add leafnode

usr.sbin.leafnode +16 -0

diff --git a/usr.sbin.leafnode b/usr.sbin.leafnode
new file mode 100644
index 0000000..1bd10c4
--- /dev/null
+++ b/usr.sbin.leafnode
@@ -0,0 +1,16 @@
+# vim:syntax=apparmor
+
+#include <tunables/global>
+
+/usr/sbin/leafnode {
+    #include <abstractions/base>
+    #include <abstractions/nameservice>
+
+    # Leafnode configuration.
+    /etc/news/leafnode/** rk,
+
+    # News data.
+    /var/spool/news/ rwk,
+    /var/spool/news/** rwk,
+}
+