Blame SOURCES/fapolicyd-magic-override2.patch

2ceba8
From 598d167f1d3e774104fc8b75ca6525351fbc4558 Mon Sep 17 00:00:00 2001
2ceba8
From: Radovan Sroka <rsroka@redhat.com>
2ceba8
Date: Mon, 1 Jun 2020 14:34:17 +0200
2ceba8
Subject: [PATCH] Added few python and shell magic entries
2ceba8
2ceba8
Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2ceba8
---
2ceba8
 init/fapolicyd-magic | 17 ++++++++++++++++-
2ceba8
 1 file changed, 16 insertions(+), 1 deletion(-)
2ceba8
2ceba8
diff --git a/init/fapolicyd-magic b/init/fapolicyd-magic
2ceba8
index 3128545..703625e 100644
2ceba8
--- a/init/fapolicyd-magic
2ceba8
+++ b/init/fapolicyd-magic
2ceba8
@@ -1,9 +1,17 @@
2ceba8
 0	string/wt	#!\ /usr/bin/bash	Bourne-Again shell script text executable
2ceba8
 !:mime	text/x-shellscript
2ceba8
 
2ceba8
+0	search/1/w	#!\ /usr/bin/env\ bash	Bourne-Again shell script text executable
2ceba8
+!:strength + 15
2ceba8
+!:mime text/x-shellscript
2ceba8
+
2ceba8
 0	string/w	#!\ /usr/bin/sh		Shell script text executable
2ceba8
 !:mime	text/x-shellscript
2ceba8
 
2ceba8
+0	search/1/w	#!\ /usr/bin/env\ sh	Shell script text executable
2ceba8
+!:strength + 15
2ceba8
+!:mime text/x-shellscript
2ceba8
+
2ceba8
 0	string/wt	#!\ /bin/rc		Plan 9 shell script text executable
2ceba8
 !:mime	text/x-plan9-shellscript
2ceba8
 
2ceba8
@@ -47,10 +55,18 @@
2ceba8
 !:strength + 15
2ceba8
 !:mime text/x-python
2ceba8
 
2ceba8
+0	search/1/w	#!\ /usr/bin/env\ python3	Python script text executable
2ceba8
+!:strength + 15
2ceba8
+!:mime text/x-python
2ceba8
+
2ceba8
 0	search/1/w	#!\ /usr/bin/python2	Python script text executable
2ceba8
 !:strength + 15
2ceba8
 !:mime text/x-python
2ceba8
 
2ceba8
+0	search/1/w	#!\ /usr/bin/env\ python2	Python script text executable
2ceba8
+!:strength + 15
2ceba8
+!:mime text/x-python
2ceba8
+
2ceba8
 0	search/1/w	#!\ /usr/bin/python	Python script text executable
2ceba8
 !:strength + 15
2ceba8
 !:mime text/x-python
2ceba8
@@ -72,6 +88,5 @@
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
-- 
2ceba8
2.25.4
2ceba8