|
|
037a42 |
diff -up ./init/fapolicyd-magic.magic-override ./init/fapolicyd-magic
|
|
|
037a42 |
--- ./init/fapolicyd-magic.magic-override 2020-06-01 12:19:03.714672865 +0200
|
|
|
037a42 |
+++ ./init/fapolicyd-magic 2020-06-01 12:19:52.754376249 +0200
|
|
|
037a42 |
@@ -13,6 +13,12 @@
|
|
|
037a42 |
0 string/wt #!\ /usr/bin/lua Lua script text executable
|
|
|
037a42 |
!:mime text/x-lua
|
|
|
037a42 |
|
|
|
037a42 |
+0 string/wt #!\ /usr/bin/texlua LuaTex script text executable
|
|
|
037a42 |
+!:mime text/x-luatex
|
|
|
037a42 |
+
|
|
|
037a42 |
+0 string/wt #!\ /usr/bin/luatex LuaTex script text executable
|
|
|
037a42 |
+!:mime text/x-luatex
|
|
|
037a42 |
+
|
|
|
037a42 |
0 string/wt #!\ /usr/bin/Rscript R script text executable
|
|
|
037a42 |
!:mime text/x-R
|
|
|
037a42 |
|
|
|
037a42 |
@@ -53,8 +59,19 @@
|
|
|
037a42 |
!:strength + 15
|
|
|
037a42 |
!:mime text/x-python
|
|
|
037a42 |
|
|
|
037a42 |
+0 search/1/w #!\ /usr/bin/env\ python Python script text executable
|
|
|
037a42 |
+!:strength + 15
|
|
|
037a42 |
+!:mime text/x-python
|
|
|
037a42 |
+
|
|
|
037a42 |
0 string/wt #!\ /usr/bin/guile Guile script text executable
|
|
|
037a42 |
!:mime text/x-script.guile
|
|
|
037a42 |
|
|
|
037a42 |
0 string \223NUMPY NumPy data file
|
|
|
037a42 |
!:mime application/x-numpy-data
|
|
|
037a42 |
+
|
|
|
037a42 |
+0 search/1/w #!\ /usr/bin/tclsh Tcl/Tk script text executable
|
|
|
037a42 |
+!:mime text/x-tcl
|
|
|
037a42 |
+
|
|
|
037a42 |
+
|
|
|
037a42 |
+0 search/1/w #!\ /usr/bin/stap Systemtap script text executable
|
|
|
037a42 |
+!:mime text/x-systemtap
|
|
|
037a42 |
diff -up ./init/fapolicyd.rules.known-libs.magic-override ./init/fapolicyd.rules.known-libs
|
|
|
037a42 |
--- ./init/fapolicyd.rules.known-libs.magic-override 2020-06-01 12:20:56.498290540 +0200
|
|
|
037a42 |
+++ ./init/fapolicyd.rules.known-libs 2020-06-01 12:23:17.220324490 +0200
|
|
|
037a42 |
@@ -3,7 +3,7 @@
|
|
|
037a42 |
# performance while ensuring that there is not much interference by
|
|
|
037a42 |
# the daemon.
|
|
|
037a42 |
|
|
|
037a42 |
-%languages=application/x-bytecode.ocaml,application/x-bytecode.python,application/java-archive,text/javascript,text/x-awk,text/x-gawk,text/x-java,text/x-lisp,text/x-lua,text/x-m4,text/x-perl,text/x-php,text/x-python,text/x-R,text/x-ruby,text/x-script.guile,text/x-tcl
|
|
|
037a42 |
+%languages=application/x-bytecode.ocaml,application/x-bytecode.python,application/java-archive,text/javascript,text/x-awk,text/x-gawk,text/x-java,text/x-lisp,text/x-lua,text/x-m4,text/x-perl,text/x-php,text/x-python,text/x-R,text/x-ruby,text/x-script.guile,text/x-tcl,text/x-luatex,text/x-systemtap
|
|
|
037a42 |
|
|
|
037a42 |
# Carve out an exception for dracut initramfs building
|
|
|
037a42 |
allow perm=any uid=0 : dir=/var/tmp/
|
|
|
037a42 |
diff -up ./init/fapolicyd.rules.restrictive.magic-override ./init/fapolicyd.rules.restrictive
|
|
|
037a42 |
--- ./init/fapolicyd.rules.restrictive.magic-override 2020-06-01 12:22:55.144002314 +0200
|
|
|
037a42 |
+++ ./init/fapolicyd.rules.restrictive 2020-06-01 12:23:55.860888398 +0200
|
|
|
037a42 |
@@ -15,7 +15,7 @@
|
|
|
037a42 |
# allow perm=open exe=%python : all
|
|
|
037a42 |
#
|
|
|
037a42 |
|
|
|
037a42 |
-%languages=application/x-bytecode.ocaml,application/java-archive,text/javascript,text/x-java,text/x-lisp,text/x-lua,text/x-m4,text/x-perl,text/x-php,text/x-R,text/x-ruby,text/x-script.guile,text/x-tcl
|
|
|
037a42 |
+%languages=application/x-bytecode.ocaml,application/java-archive,text/javascript,text/x-java,text/x-lisp,text/x-lua,text/x-m4,text/x-perl,text/x-php,text/x-R,text/x-ruby,text/x-script.guile,text/x-tcl,text/x-luatex,text/x-systemtap
|
|
|
037a42 |
|
|
|
037a42 |
# Carve out an exception for dracut
|
|
|
037a42 |
allow perm=any uid=0 : dir=/var/tmp/
|