Blame SOURCES/fapolicyd-magic-override.patch

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