diff -up ./init/fapolicyd-magic.magic ./init/fapolicyd-magic --- ./init/fapolicyd-magic.magic 2021-01-05 16:27:53.000000000 +0100 +++ ./init/fapolicyd-magic 2021-02-17 15:51:41.420604805 +0100 @@ -1,9 +1,17 @@ 0 string/w #!\ /usr/bin/bash Bourne-Again shell script text executable !:mime text/x-shellscript +0 search/1/w #!\ /usr/bin/env\ bash Bourne-Again shell script text executable +!:strength + 15 +!:mime text/x-shellscript + 0 string/w #!\ /usr/bin/sh Shell script text executable !:mime text/x-shellscript +0 search/1/w #!\ /usr/bin/env\ sh Shell script text executable +!:strength + 15 +!:mime text/x-shellscript + 0 string/wt #!\ /bin/rc Plan 9 shell script text executable !:mime text/x-plan9-shellscript @@ -47,10 +55,18 @@ !:strength + 15 !:mime text/x-python +0 search/1/w #!\ /usr/bin/env\ python3 Python script text executable +!:strength + 15 +!:mime text/x-python + 0 search/1/wt #!\ /usr/bin/python2 Python script text executable !:strength + 15 !:mime text/x-python +0 search/1/w #!\ /usr/bin/env\ python2 Python script text executable +!:strength + 15 +!:mime text/x-python + 0 search/1/wt #!\ /usr/bin/python Python script text executable !:strength + 15 !:mime text/x-python @@ -72,6 +88,5 @@ 0 search/1/wt #!\ /usr/bin/tclsh Tcl/Tk script text executable !:mime text/x-tcl - 0 search/1/wt #!\ /usr/bin/stap Systemtap script text executable !:mime text/x-systemtap