Browse Source

Disable detection of WE32K executables. Closes: #913867

Christoph Biedl 4 years ago
parent
commit
9b67ac3190
2 changed files with 44 additions and 0 deletions
  1. 1 0
      debian/patches/series
  2. 43 0
      debian/patches/upstream.disable.att3b.patch

+ 1 - 0
debian/patches/series

@@ -2,6 +2,7 @@
 cherry-pick.FILE5_38-1-gd955cefc.-td-is-for-ptrdiff-t-not-for-off-t.patch
 
 # patches that should go upstream
+upstream.disable.att3b.patch
 
 # local modifications
 local.support-local-definitions-in-etc-magic.patch

+ 43 - 0
debian/patches/upstream.disable.att3b.patch

@@ -0,0 +1,43 @@
+Subject: Disable att3b/WE32K executables like 3B20
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Date: 2019-12-19
+Bug-Debian: https://bugs.debian.org/913867
+Forwarded: Not yet
+
+--- a/magic/Magdir/att3b
++++ b/magic/Magdir/att3b
+@@ -18,20 +18,20 @@
+ #
+ # WE32K
+ #
+-0	beshort		0560		WE32000 COFF
+->18	beshort		^00000020	object
+->18	beshort		&00000020	executable
+->12	belong		>0		not stripped
+->18	beshort		^00010000	N/A on 3b2/300 w/paging
+->18	beshort		&00020000	32100 required
+->18	beshort		&00040000	and MAU hardware required
+->20	beshort		0407		(impure)
+->20	beshort		0410		(pure)
+->20	beshort		0413		(demand paged)
+->20	beshort		0443		(target shared library)
+->22	beshort		>0		- version %d
+-0	beshort		0561		WE32000 COFF executable (TV)
+->12	belong		>0		not stripped
++#0	beshort		0560		WE32000 COFF
++#>18	beshort		^00000020	object
++#>18	beshort		&00000020	executable
++#>12	belong		>0		not stripped
++#>18	beshort		^00010000	N/A on 3b2/300 w/paging
++#>18	beshort		&00020000	32100 required
++#>18	beshort		&00040000	and MAU hardware required
++#>20	beshort		0407		(impure)
++#>20	beshort		0410		(pure)
++#>20	beshort		0413		(demand paged)
++#>20	beshort		0443		(target shared library)
++#>22	beshort		>0		- version %d
++#0	beshort		0561		WE32000 COFF executable (TV)
++#>12	belong		>0		not stripped
+ #>18	beshort		&00020000	- 32100 required
+ #>18	beshort		&00040000	and MAU hardware required
+ #>22	beshort		>0		- version %d