xref: /freebsd/contrib/file/magic/Magdir/ibm370 (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*43a5ec4eSXin LI# $File: ibm370,v 1.11 2021/03/14 16:51:45 christos Exp $
4b6cee71dSXin LI# ibm370:  file(1) magic for IBM 370 and compatibles.
5b6cee71dSXin LI#
6b6cee71dSXin LI# "ibm370" said that 0x15d == 0535 was "ibm 370 pure executable".
7b6cee71dSXin LI# What the heck *is* "USS/370"?
8b6cee71dSXin LI# AIX 4.1's "/etc/magic" has
9b6cee71dSXin LI#
10b6cee71dSXin LI#	0	short		0535		370 sysV executable
11b6cee71dSXin LI#	>12	long		>0		not stripped
12b6cee71dSXin LI#	>22	short		>0		- version %d
13b6cee71dSXin LI#	>30	long		>0		- 5.2 format
14b6cee71dSXin LI#	0	short		0530		370 sysV pure executable
15b6cee71dSXin LI#	>12	long		>0		not stripped
16b6cee71dSXin LI#	>22	short		>0		- version %d
17b6cee71dSXin LI#	>30	long		>0		- 5.2 format
18b6cee71dSXin LI#
19b6cee71dSXin LI# instead of the "USS/370" versions of the same magic numbers.
20b6cee71dSXin LI#
21b6cee71dSXin LI0	beshort		0537		370 XA sysV executable
22b6cee71dSXin LI>12	belong		>0		not stripped
23b6cee71dSXin LI>22	beshort		>0		- version %d
24b6cee71dSXin LI>30	belong		>0		- 5.2 format
25b6cee71dSXin LI0	beshort		0532		370 XA sysV pure executable
26b6cee71dSXin LI>12	belong		>0		not stripped
27b6cee71dSXin LI>22	beshort		>0		- version %d
28b6cee71dSXin LI>30	belong		>0		- 5.2 format
29b6cee71dSXin LI0	beshort		054001		370 sysV pure executable
30b6cee71dSXin LI>12	belong		>0		not stripped
31b6cee71dSXin LI0	beshort		055001		370 XA sysV pure executable
32b6cee71dSXin LI>12	belong		>0		not stripped
33b6cee71dSXin LI0	beshort		056401		370 sysV executable
34b6cee71dSXin LI>12	belong		>0		not stripped
35b6cee71dSXin LI0	beshort		057401		370 XA sysV executable
36b6cee71dSXin LI>12	belong		>0		not stripped
37b6cee71dSXin LI0       beshort		0531		SVR2 executable (Amdahl-UTS)
38b6cee71dSXin LI>12	belong		>0		not stripped
39b6cee71dSXin LI>24     belong		>0		- version %d
40b6cee71dSXin LI0	beshort		0534		SVR2 pure executable (Amdahl-UTS)
41b6cee71dSXin LI>12	belong		>0		not stripped
42b6cee71dSXin LI>24	belong		>0		- version %d
43b6cee71dSXin LI0	beshort		0530		SVR2 pure executable (USS/370)
44b6cee71dSXin LI>12	belong		>0		not stripped
45b6cee71dSXin LI>24	belong		>0		- version %d
46b6cee71dSXin LI0	beshort		0535		SVR2 executable (USS/370)
47b6cee71dSXin LI>12	belong		>0		not stripped
48b6cee71dSXin LI>24	belong		>0		- version %d
49*43a5ec4eSXin LI
50*43a5ec4eSXin LI# NETDATA (https://en.wikipedia.org/wiki/NETDATA)
51*43a5ec4eSXin LI#	-\INMR01 In EBCDIC
52*43a5ec4eSXin LI0	string 		\x60\xe0\xc9\xd5\xd4\xd9\xf0\xf1	IBM NETDATA file
53