2014-12-21 17:18:25 +01:00
|
|
|
Index: apparmor-2.9.0/profiles/apparmor.d/usr.bin.lessopen
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2014-12-21 17:26:04 +01:00
|
|
|
+++ apparmor-2.9.0/profiles/apparmor.d/usr.bin.lessopen.sh
|
2015-02-20 20:32:48 +01:00
|
|
|
@@ -0,0 +1,40 @@
|
2014-12-21 17:18:25 +01:00
|
|
|
+# Last Modified: Fri Nov 28 08:01:09 2014
|
|
|
|
+#include <tunables/global>
|
|
|
|
+
|
|
|
|
+/usr/bin/lessopen.sh {
|
|
|
|
+ #include <abstractions/base>
|
|
|
|
+ #include <abstractions/bash>
|
|
|
|
+ #include <abstractions/consoles>
|
|
|
|
+ #include <abstractions/perl>
|
|
|
|
+
|
|
|
|
+ /** rk,
|
|
|
|
+ /bin/bash ix,
|
|
|
|
+ /bin/rpm rix,
|
|
|
|
+ /bin/tar rix,
|
|
|
|
+ /tmp/less.* rw,
|
|
|
|
+ /usr/bin/bzip2 rix,
|
|
|
|
+ /usr/bin/cabextract rix,
|
|
|
|
+ /usr/bin/cat rix,
|
|
|
|
+ /usr/bin/colordiff rix,
|
|
|
|
+ /usr/bin/dvi2tty rix,
|
|
|
|
+ /usr/bin/file rix,
|
|
|
|
+ /usr/bin/grep rix,
|
|
|
|
+ /usr/bin/groff rix,
|
|
|
|
+ /usr/bin/gzip rix,
|
|
|
|
+ /usr/bin/head rix,
|
|
|
|
+ /usr/bin/lynx rix,
|
|
|
|
+ /usr/bin/mktemp rix,
|
|
|
|
+ /usr/bin/nm rix,
|
|
|
|
+ /usr/bin/pdftotext rix,
|
|
|
|
+ /usr/bin/ps2ascii rix,
|
|
|
|
+ /usr/bin/rm rix,
|
|
|
|
+ /usr/bin/seq rix,
|
|
|
|
+ /usr/bin/tar rix,
|
|
|
|
+ /usr/bin/unzip rix,
|
2015-02-20 20:32:48 +01:00
|
|
|
+ /usr/bin/unzip-plain rix,
|
2014-12-21 17:18:25 +01:00
|
|
|
+ /usr/bin/w3m rix,
|
|
|
|
+ /usr/bin/which rix,
|
|
|
|
+ /usr/bin/xz rix,
|
|
|
|
+
|
2014-12-21 17:26:04 +01:00
|
|
|
+ #include <local/usr.bin.lessopen.sh>
|
2014-12-21 17:18:25 +01:00
|
|
|
+}
|