ibm370 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #------------------------------------------------------------------------------
  2. # ibm370: file(1) magic for IBM 370 and compatibles.
  3. #
  4. # "ibm370" said that 0x15d == 0535 was "ibm 370 pure executable".
  5. # What the heck *is* "USS/370"?
  6. # AIX 4.1's "/etc/magic" has
  7. #
  8. # 0 short 0535 370 sysV executable
  9. # >12 long >0 not stripped
  10. # >22 short >0 - version %d
  11. # >30 long >0 - 5.2 format
  12. # 0 short 0530 370 sysV pure executable
  13. # >12 long >0 not stripped
  14. # >22 short >0 - version %d
  15. # >30 long >0 - 5.2 format
  16. #
  17. # instead of the "USS/370" versions of the same magic numbers.
  18. #
  19. 0 beshort 0537 370 XA sysV executable
  20. >12 belong >0 not stripped
  21. >22 beshort >0 - version %d
  22. >30 belong >0 - 5.2 format
  23. 0 beshort 0532 370 XA sysV pure executable
  24. >12 belong >0 not stripped
  25. >22 beshort >0 - version %d
  26. >30 belong >0 - 5.2 format
  27. 0 beshort 054001 370 sysV pure executable
  28. >12 belong >0 not stripped
  29. 0 beshort 055001 370 XA sysV pure executable
  30. >12 belong >0 not stripped
  31. 0 beshort 056401 370 sysV executable
  32. >12 belong >0 not stripped
  33. 0 beshort 057401 370 XA sysV executable
  34. >12 belong >0 not stripped
  35. 0 beshort 0531 SVR2 executable (Amdahl-UTS)
  36. >12 belong >0 not stripped
  37. >24 belong >0 - version %ld
  38. 0 beshort 0534 SVR2 pure executable (Amdahl-UTS)
  39. >12 belong >0 not stripped
  40. >24 belong >0 - version %ld
  41. 0 beshort 0530 SVR2 pure executable (USS/370)
  42. >12 belong >0 not stripped
  43. >24 belong >0 - version %ld
  44. 0 beshort 0535 SVR2 executable (USS/370)
  45. >12 belong >0 not stripped
  46. >24 belong >0 - version %ld