The Single UNIX Specification (SUS) is a standard for computer operating systems,[1][2] compliance with which is required to qualify for using the "UNIX" trademark. The standard specifies programming interfaces for the C language, a command-line shell, and user commands. The core specifications of the SUS known as Base Specifications are developed and maintained by the Austin Group, which is a joint working group of IEEE, ISO JTC 1 SC22 and The Open Group. If an operating system is submitted to The Open Group for certification, and passes conformance tests, then it is deemed to be compliant with a UNIX standard such as UNIX 98 or UNIX 03.

Very few BSD and Linux-based operating systems are submitted for compliance with the Single UNIX Specification, although system developers generally aim for compliance with POSIX standards, which form the core of the Single UNIX Specification.

The latest SUS consists of two parts: the base specifications technically identical to POSIX, and X/Open Curses specification.[3]

Some parts of the SUS are optional.

History

1980s: Motivation

The SUS emerged from multiple 1980s efforts to standardize operating system interfaces for software designed for variants of the Unix operating system. The need for standardization arose because enterprises using computers wanted to be able to develop programs that could be used on the computer systems of different manufacturers without reimplementing the programs. Unix was selected as the basis for a standard system interface partly because it was manufacturer-neutral.

In 1984, the UNIX user group called /usr/group published the results of their standardization effort for programming interfaces in their 1984 /usr/group standard, which became basis for what would become the POSIX.1-1988 standard.[4][5]

In 1985, AT&T published System V Interface Definition (SVID), a specification of UNIX System V programming interfaces.[6]

1988: POSIX

In 1988, standardization efforts resulted in IEEE 1003 (also registered as ISO/IEC 9945), or POSIX.1-1988, which loosely stands for Portable Operating System Interface.

1980s and 1990s: X/Open Portability Guide

The X/Open Portability Guide (XPG) was a precursor to the SUS, published by the X/Open Company, a consortium of companies established in 1984. The guides were published in the following years.

XPG4 Base included the following documents:

1990s: Spec 1170

In the early 1990s, a separate effort known as the Common API Specification or Spec 1170 was initiated by several major vendors,[9] who formed the COSE alliance in the wake of the Unix wars. In 1993, Spec 1170 was assigned by COSE to X/Open for fasttrack.[10] In October 1993, a planned transfer of UNIX trademark from Novell to X/Open was announced;[11] it was finalized in 2nd quarter of 1994.[12] Spec 1170 would eventually become the Single Unix Specification.[9]

1994: Single UNIX Specification

In 1994, the X/Open Company released the Single UNIX Specification.[9] The SUS was made up of documents that were part of the X/Open Common Applications Environment (CAE):[9]

This was a repackaging of the X/Open Portability Guide (XPG), Issue 4, Version 2.

Sources differ on whether X/Open Curses, Issue 4, Version 2 was part of this SUS;[9][17] its copyright date is given as 1996.[18] X/Open Curses, Issue 4 was published in 1995.[19]

In October 1994, X/Open indicated they were going to refer to Spec 1170 as '"Single-Unix" specification'.[20]

The SUS was at the core of the UNIX 95 brand.[21]

This version had 1168 programming interfaces.[22]

This version of SUS was drawn from the following sources:[9]

1997: Single UNIX Specification, version 2

In 1996, X/Open merged with Open Software Foundation (OSF) to form The Open Group.[23][24]

In 1997, the Open Group released the Single UNIX Specification, Version 2.[25][26]

This specification consisted of:[27]

and was at the core of the UNIX 98 brand.[33]

This version had 1434 programming interfaces.[22]

2001: Single UNIX Specification, version 3, POSIX.1-2001

Beginning in 1998, a joint working group of IEEE, ISO JTC 1 SC22 and The Open Group known as the Austin Group began to develop the combined standard that would be known as the core of Single UNIX Specification, Version 3 and as POSIX.1-2001. It was released on January 30, 2002.[34]

This SUS consisted of:[35]

and is at the core of the UNIX 03 brand.[36]

The Base Specifications are technically identical to POSIX.1-2001, which is IEEE Std 1003.1-2001.[35]

This version had 1742 programming interfaces.[22]

An authorized guide is available for the version.[37]

2004 Edition

In 2004, a new edition of the POSIX.1-2001 standard was released, incorporating two technical corrigenda.[38][39] It is called IEEE Std 1003.1, 2004 Edition.[39] Some informally call it POSIX.1-2004,[40][41][42] but this is not an official identification.

2008: Single UNIX Specification, version 4, POSIX.1-2008

In December 2008, the Austin Group published a new major revision of SUS and POSIX.[43][44][45] This is the Single UNIX Specification, Version 4 (SUSv4).[46]

This SUS consists of:[47]

The Base Specifications are technically identical to POSIX.1-2008, which is IEEE Std 1003.1-2008.[47]

This version had 1833 interfaces, of which 1191 were in the System Interfaces section.[48]

2013 Edition

The Technical Corrigendum 1 is mostly targeting internationalization and it introduces a role-based access model. A trademark UNIX V7 (not to be confused with V7 UNIX, the version of Research Unix from 1979) has been created to mark compliance with SUS Version 4.[49]

2016 Edition

The Technical Corrigendum 2 has been published in September 2016, leading into IEEE Std 1003.1-2008, 2016 Edition and Single UNIX Specification, Version 4, 2016 Edition.

2018 Edition, POSIX.1-2017

In January 2018, an "administrative rollup" edition was released. It incorporates Single UNIX Specification version 4 TC1 and TC2, and is technically identical to the 2016 edition.[50]

The Base Specifications are technically identical to POSIX.1-2017, which is IEEE Std 1003.1-2017.[51]

Specification

SUSv3 totals some 3700 pages, which are divided into four main parts:

The standard user command line and scripting interface is the POSIX shell, an extension of the Bourne Shell based on an early version of the Korn Shell. Other user-level programs, services and utilities include awk, echo, ed, vi, and hundreds of others. Required program-level services include basic I/O (file, terminal, and network) services. A test suite accompanies the standard. It is called PCTS or the POSIX Certification Test Suite.

Additionally, SUS includes CURSES (XCURSES) specification, which specifies 372 functions and 3 header files. All in all, SUSv3 specifies 1742 interfaces.

Note that a system need not include source code derived in any way from AT&T Unix to meet the specification. For instance, IBM OS/390, now z/OS, qualifies as UNIX despite having no code in common.[52]

Marks for compliant systems

There are five official marks for conforming systems:[53][54]

Compliance

Product Vendor Architecture UNIX V7[59] UNIX 03[58] UNIX 98[57] UNIX 95[56] UNIX 93[55]
AIX IBM Corporation POWER processors Yes Yes No No No
EulerOS Huawei x86-64 No Yes No No No
HP-UX Hewlett Packard Enterprise IA-64, PA-RISC No Yes No No No
macOS (formerly OS X) Apple x86-64, ARM64 No Yes No No No
OpenServer Xinuos IA-32 No No No No Yes
UnixWare Xinuos IA-32 No No No Yes No
z/OS IBM Corporation z/Architecture No No No Yes No

Currently registered UNIX systems

AIX

AIX version 7, at either 7.1 TL5 (or later) or 7.2 TL2 (or later) are registered as UNIX 03 compliant.[61] AIX version 7, at 7.2 TL5 (or later) are registered as UNIX V7 compliant.[62] Older versions were previously certified to the UNIX 95 and UNIX 98 marks.[63]

EulerOS

EulerOS 2.0 for the x86-64 architecture is registered as UNIX 03 compliant.[64][65] The UNIX 03 conformance statement shows that the standard C compiler is from the GNU Compiler Collection (gcc), and that the system is a Linux distribution of the Red Hat Enterprise Linux family.[66]

HP-UX

HP-UX 11i V3 Release B.11.31 is registered as UNIX 03 compliant. Previous releases were registered as UNIX 95.[67]

HP-UX 11i features also provide partial conformance to the UNIX 98 specification.[68]

macOS

Apple macOS (formerly known as Mac OS X or OS X) is registered as UNIX 03 compliant.[69] The first version registered was Mac OS X 10.5 Leopard, certified on October 26, 2007 (on x86 systems).[70][71] All newer versions of macOS, up to macOS 12 Monterey, have been registered, with macOS 11 and 12 registered on both x86-64 and ARM64 systems.[72]

Xinuos

UnixWare 7.1.3 and later is registered as UNIX 95 compliant. SCO OpenServer 5 and 6 are registered as UNIX 93 compliant.

z/OS

IBM z/OS 1.2 and higher is registered as UNIX 95 compliant. z/OS 1.9, released on September 28, 2007, and subsequent releases "better align" with UNIX 03.[73]

Previously registered UNIX systems

FTX

DNCP Series running FTX Release 3 was registered as UNIX 93 compliant.[74]

Solaris

Solaris 11.4 was previously registered as UNIX v7 compliant in 2018.[75] Solaris 11 and Solaris 10 was registered as UNIX 03 compliant on 32-bit and 64-bit x86 (X86-64) and SPARC systems. Solaris 8 and 9 was registered as UNIX 98 compliant on 32-bit x86 and SPARC systems; 64-bit x86 systems were not supported. Solaris 2.4 and 2.6, on both x86 and SPARC, were certified to the UNIX 93 and UNIX 95 marks respectively.[63]

Solaris 2.5.1 was also registered as UNIX 95 compliant on the PReP PowerPC platform in 1996, but the product was withdrawn before more than a few dozen copies had been sold.[76]

Reliant UNIX

The last Reliant UNIX versions were registered as UNIX 95 compliant (XPG4 hard branding).

Inspur K-UX

Inspur K-UX 2.0 and 3.0 for the x86-64 architecture were certified as UNIX 03 compliant.[77][78] The UNIX 03 conformance statement for Inspur K-UX 2.0 and 3.0 shows that the standard C compiler is from the GNU Compiler Collection (gcc), and that the system is a Linux distribution of the Red Hat family.[79]

Tru64 UNIX

Tru64 UNIX V5.1A and later were registered as UNIX 98 compliant.

Other

Other operating systems previously registered as UNIX 95 or UNIX 93 compliant:

Non-registered Unix-like systems

Developers and vendors of Unix-like operating systems such as Linux, FreeBSD, and MINIX typically do not certify their distributions and do not install full POSIX utilities by default.

For Linux, pax command is usually not installed; furthermore, pax command packages available for Linux often lack pax file format support required by POSIX.[81] Sometimes, SUS compliance can be improved by installing additional packages, but very few Linux systems can be configured to be completely conformant. The Linux Standard Base was formed in 2001 as an attempt to standardize the internal structures of Linux-based systems for increased compatibility. It is based on the POSIX specifications, the Single UNIX Specification, and other open standards, and also extends them in several areas; but there are some conflicts between the LSB and The POSIX standards.[82][83] Few Linux distributions actually go through certification as LSB compliant.[84]

Darwin, the open source subset of macOS, has behavior that can be set to comply with UNIX 03.[85][86]

FreeBSD previously had a "C99 and POSIX Conformance Project" which aimed for compliance with a subset of the Single UNIX Specification, and documentation where there were differences.[87] FreeBSD pax command does not support pax file format[88] and thereby fails POSIX.1-2001. FreeBSD man pages sometimes indicate deviations from POSIX and thus SUS in their STANDARDS sections.[89]

OpenBSD man pages sometimes indicate deviations from POSIX and thus SUS in their STANDARDS sections.[90][91]

MINIX pax command does not support pax file format[92] and thereby fails POSIX.1-2001.

See also

References

  1. ^ "Questions & Answers". unix.org.
  2. ^ "The UNIX Standard". The Open Group. August 27, 2018.
  3. ^ "Single UNIX Specification, Version 4, 2018 Edition". The Open Group.
  4. ^ Kelty, Christopher M. "Conceiving Open Systems" (PDF). kelty.org.
  5. ^ Standards Conformance Guide (PDF). SunSoft. November 1995.
  6. ^ System V Interface Definition. 1985. ASIN B000KF6SCE.
  7. ^ a b c Raymond, Eric S. (September 19, 2003). "Standards and the Unix Wars". The Art of UNIX Programming.
  8. ^ Stevens, W. Richard; Fenner, Bill; Rudoff, Andrew M. (2003). Unix Network Programming, Volume 1: The Sockets Networking API (3rd ed.). Addison-Wesley Professional. ISBN 978-0131411555. OCLC 53867239.
  9. ^ a b c d e f "The Single UNIX Specification". unix.org.
  10. ^ "The UNIX System -- History and Timeline -- UNIX History". unix.org.
  11. ^ Fennessy, Quentin (October 12, 1993). "The name "UNIX" is now the property of X/Open". Newsgroupcomp.std.unix.
  12. ^ "Frequently Asked Questions". unix.org.
  13. ^ X/Open CAE Specification System Interface Definitions, Issue 4, Version 2 (PDF). The Open Group. 1994.
  14. ^ X/Open CAE Specification System Interfaces and Headers, Issue 4, Version 2 (PDF). The Open Group. 1994.
  15. ^ X/Open CAE Specification Commands and Utilities, Issue 4, Version 2 (PDF). The Open Group. 1994.
  16. ^ X/Open CAE Specification Networking Services, Issue 4 (PDF). The Open Group. 1994.
  17. ^ "Single UNIX® Specification, Version 1 Document Set (UNIX 95)". opengroup.org. Retrieved May 25, 2021.
  18. ^ X/Open Curses, Issue 4, Version 2 (PDF). The Open Group. X/Open Company. 1996. ISBN 1-85912-171-3.
  19. ^ X/Open Curses, Issue 4. 1995. ISBN 9781859120774.
  20. ^ Bozman, Jean S. (October 24, 1994). "X/Open test suites advance". Computerworld. Vol. 28, no. 43. p. 49.
  21. ^ "Open Brand - UNIX 95". The Open Group.
  22. ^ a b c "How many APIS are there?". unix.org.
  23. ^ McCrea, Phil (April 1996). "Formation of 'The Open Group'". AUGGN: The Journal of AUUG Inc. 17 (2): 17–18.
  24. ^ Gaudin, Sharon (May 27, 1996). "WebCrusader may blaze wider trail for DCE users". Computerworld. Vol. 30, no. 22. p. 64.
  25. ^ "The Single UNIX Specification, Version 2". www.opengroup.org.
  26. ^ "The Open Group Announces Enhanced Single UNIX Specification" (Press release). The Open Group. March 12, 1997. Retrieved July 26, 2009.
  27. ^ "What's New in the Single UNIX Specification, Version 2". unix.org.
  28. ^ System Interface Definitions Issue 5 (PDF). The Open Group.
  29. ^ System Interfaces and Headers Issue 5 (PDF). The Open Group.
  30. ^ Commands and Utilities Issue 5 (PDF). The Open Group.
  31. ^ Networking Services (XNS) Issue 5 (PDF). The Open Group. ISBN 1-85912-165-9.
  32. ^ X/Open Curses, Issue 4, Version 2 (PDF). The Open Group. X/Open Company. 1996. ISBN 1-85912-171-3.
  33. ^ "Open Brand - UNIX 98". The Open Group.
  34. ^ "The Open Group announces completion of the joint revision to POSIX and the Single UNIX Specification" (Press release). The Open Group. January 30, 2002. Retrieved July 26, 2009.
  35. ^ a b "The Single UNIX Specification Version 3 - Overview". unix.org.
  36. ^ "Open Brand - UNIX 03". The Open Group.
  37. ^ The Single UNIX Specification: The Authorized Guide to Version 3, 2nd Edition (PDF). The Open Group.
  38. ^ "The Open Group Base Specifications Issue 6". The Open Group.
  39. ^ a b "IEEE Std 1003.1, 2004 Edition". Retrieved July 26, 2009.
  40. ^ "POSIX.1(5)". Oracle Solaris 11.2 Information Library.
  41. ^ "1.3.4 Feature Test Macros". The GNU C Library manual. gnu.org.
  42. ^ POSIX Abstractions in Modern Operating Systems: The Old, the New, and the Missing. Eleventh European Conference on Computer Systems. doi:10.1145/2901318.2901350.
  43. ^ "The Open Group Base Specifications Issue 7, 2018 edition". www.opengroup.org.
  44. ^ "Base Specifications, Issue 7". The Open Group. Retrieved July 26, 2009.
  45. ^ "The Austin Common Standards Revision Group". The Open Group. Retrieved July 26, 2009.
  46. ^ "Single UNIX Specification Version 4". The Open Group.
  47. ^ a b "The Single UNIX Specification Version 4 - Introduction". unix.org.
  48. ^ "Version 4 Interface Counts". unix.org.
  49. ^ "UNIX V7 Certification". unix.org.
  50. ^ "Base Specifications, Issue 7, 2018 Edition". The Open Group. Retrieved July 6, 2018.
  51. ^ "IEEE SA - IEEE/Open Group 1003.1-2017". standards.ieee.org.
  52. ^ Matzan, Jem (July 30, 2004). "Can GNU ever be Unix?". linux.com.
  53. ^ "UNIX(R) Certified Products - The Open Group official register of UNIX Certified Products". The Open Group.
  54. ^ "The Open Brand - The full register of certified products". The Open Group.
  55. ^ a b "The Open Brand Register, UNIX 93". The Open Group.
  56. ^ a b "The Open Brand Register, UNIX 95". The Open Group.
  57. ^ a b "The Open Brand Register, UNIX 98". The Open Group.
  58. ^ a b "The Open Brand Register, UNIX 03". The Open Group.
  59. ^ a b "The Open Brand Register, UNIX V7". The Open Group.
  60. ^ "The UNIX System -- UNIX V7 Certification". unix.org.
  61. ^ The Open Group. "UNIX 03, AIX".
  62. ^ The Open Group. "UNIX V7, AIX".
  63. ^ a b c "The Open Brand - Register of Certified Products". Open Group. July 23, 2003. Archived from the original on August 2, 2003. Retrieved January 23, 2022.
  64. ^ "Huawei KunLun EulerOS 2.0 Operating System Passes UNIX Certification" (Press release). Huawei. September 9, 2016. Retrieved October 29, 2016.
  65. ^ The Open Group. "UNIX 03, EulerOS".
  66. ^ Peng Shen. "Huawei Conformance Statement: Commands and Utilities V4". The Open Group. Retrieved October 29, 2016.
  67. ^ "UNIX 2003 Standard Profile conformance". Hewlett Packard. Archived from the original on July 27, 2014. Retrieved July 22, 2014.
  68. ^ "HP-UX Software Transition Kit". Hewlett Packard. Archived from the original on July 27, 2014. Retrieved July 22, 2014.
  69. ^ "OS X for UNIX Users" (PDF). July 2011.
  70. ^ "Mac OS X Leopard - Technology - UNIX". Leopard Technology Overview. Apple Inc. Archived from the original on August 23, 2007. Retrieved June 11, 2007. Leopard is now an Open Brand UNIX 03 Registered Product, conforming to the SUSv3 and POSIX 1003.1 specifications for the C API, Shell Utilities, and Threads.
  71. ^ The Open Group. "Mac OS X Version 10.5 Leopard on Intel-based Macintosh computers certification". Retrieved June 12, 2007.
  72. ^ "Open Brand". www.opengroup.org.
  73. ^ "Preview: IBM z/OS V1.9 advanced infrastructure solutions for your business needs" (PDF). IBM. February 6, 2007. pp. 4, 15. Retrieved July 23, 2022.
  74. ^ The Open Group. "The Open Brand - Register of Certified Products - UNIX 93". Archived from the original on October 5, 2016.
  75. ^ "UNIX V7 - The Open Brand Register, Oracle Corporation". The Open Group. Archived from the original on January 14, 2020. Retrieved January 16, 2021.
  76. ^ "Solaris 2.5.1". Archived from the original on September 12, 2005.
  77. ^ "The Open Brand Register of Certified Products". The Open Group. May 29, 2014. Retrieved May 29, 2014.
  78. ^ Xie Ruohong. "Inspur Conformance Statement". The Open Group. Retrieved December 8, 2015.
  79. ^ Xie Ruohong. "Inspur Conformance Statement: Commands and Utilities V4". The Open Group. Retrieved December 8, 2015.
  80. ^ The Open Group. "Register of Certified Products". Retrieved December 20, 2009.
  81. ^ "Bug #1329914 "No UNIX compatible pax implementation" : Bugs : RPM". Ubuntu bug tracker.
  82. ^ ISO/IEC TR 24715:2006 - Information technology -- Programming languages, their environments and system software interfaces -- Technical Report on the Conflicts between the ISO/IEC 9945 (POSIX) and the Linux Standard Base (ISO/IEC 23360)
  83. ^ Josey, Andrew (August 29, 2005). "Conflicts between ISO/IEC 9945 (POSIX) and the Linux Standard Base". personal.opengroup.org (Unapproved Draft).
  84. ^ "Certified Products Product Directory". The Linux Foundation. Archived from the original on December 20, 2012. Retrieved December 9, 2015.
  85. ^ "Mac OS X Manual Page for compat(5) - Mac OS X 10.3". developer.apple.com. October 23, 2005. Archived from the original on March 10, 2009. Retrieved May 24, 2018.
  86. ^ "compat(5) Manual Page - macOS 10.9". developer.apple.com. June 30, 2010. Retrieved May 24, 2018.
  87. ^ "FreeBSD C99 and POSIX conformance project". FreeBSD Project. Archived from the original on December 23, 2013.
  88. ^ pax(1) – FreeBSD General Commands Manual
  89. ^ awk(1) – FreeBSD General Commands Manual
  90. ^ sh(1) – OpenBSD General Commands Manual
  91. ^ awk(1) – OpenBSD General Commands Manual
  92. ^ "pax(1)". man.minix3.org.