git » apparmor » commit d8d0c45

Add a reduced profile for lynx

author Alberto Bertogli
2014-11-15 20:12:39 UTC
committer Alberto Bertogli
2014-11-15 20:12:39 UTC
parent 2298a6948e3481422fe5a13e127d391849e51fc2

Add a reduced profile for lynx

usr.bin.lynx +12 -0

diff --git a/usr.bin.lynx b/usr.bin.lynx
new file mode 100644
index 0000000..62e1207
--- /dev/null
+++ b/usr.bin.lynx
@@ -0,0 +1,12 @@
+# vim:syntax=apparmor
+
+# A very tight lynx profile, for offline html-to-text conversion only.
+
+#include <tunables/global>
+
+/usr/bin/lynx {
+    #include <abstractions/base>
+    #include <abstractions/user-tmp>
+
+    /etc/lynx-cur/** r,
+}