Technical article 110931

What is SLS OSS621B, the OpenServer 5.0.4/5.0.5 libc Supplement?

OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

What problems are addressed by Support Level Supplement (SLS) OSS621B, the OpenServer 5.0.4/5.0.5 libc Supplement?

NOTE:     If running SCO OpenServer 5.0.5, then you must install both Release
          Supplement 505A (rs505a) for SCO OpenServer Release 5.0.5, and
          Support Level Supplement (SLS) OSS600A, the Y2K SLS for SCO
          OpenServer 5.0.5 + rs505a, before installing this SLS OSS621B.

If running SCO OpenServer 5.0.4, then you must install both Release Supplement 504C (rs504c) for SCO OpenServer Release 5.0.4, and Support Level Supplement (SLS) OSS601A, the Year 2000 Supplement for SCO OpenServer 5.0.2 and 5.0.4.

If installed, the previous version of this supplement (OSS621A) must be removed before installing SLS OSS621B.

OSS621B eliminates an OSS621A SCO OpenServer 5.0.4 Development
System limitation.  For this one configuration, SLS OSS621A
updated the dynamic libc library, but not the static libc library.
OSS621B provides both libraries.  For SCO OpenServer 5.0.4 and
5.0.5 systems without the Development System installed, OSS621A
and OSS621B are functionally equivalent.

Solution

SLS OSS621B provides the latest OpenServer native C runtime library (libc) for SCO OpenServer 5.0.4 and 5.0.5.

See the attached cover letter for more information about this SLS, including a list of specific problems addressed and installation instructions.

See also

ta105811, "What is the Release Supplement 504C for SCO OpenServer Release 5.0.4 (rs504c) and how can I obtain it?"

ta109700, "What is SLS OSS472A, the Binary Misrecognition Patch for OpenServer 5.0.4?"

ta109909, "What is Release Supplement 505A for SCO OpenServer Release 5.0.5?"

ta110077, "What is addressed by SLS OSS601A, the Year 2000 Supplement for SCO OpenServer 5.0.2 and 5.0.4?"

ta110091, "Special notes and recommendations before installing
OSS601A, the Year 2000 Supplement for SCO OpenServer 5.0.2 and
5.0.4."

ta110079, "What is SLS OSS600A, the Y2K SLS for SCO OpenServer 5.0.5 + RS505A?"

ta110090, "Special notes and recommendations before installing OSS600A, the Year 2000 Supplement for SCO OpenServer 5.0.5."

Dear SCO Customer,

Support Level Supplement (SLS) OSS621B, the OpenServer 5.0.4/5.0.5 libc Supplement, provides an updated libc library to correct the following OpenServer problems:

1.  The underlying text-to-float conversion function used by atof(S),
    strtod(S), the scanf(S) family, and other similar functions, was
    corrected.  Previously, incorrect results were produced for a few
    floating point numbers with many digits after the decimal point.
2.  A problem in getgrent(S) was corrected.  Previously, members were
    occasionally omitted from some groups when any group had more than
    16 members.

3. A revision was made to prevent usleep(S) from generating spurious SIGALRM signals to the calling process and to prevent race conditions. usleep now uses select(S) rather than setitimer(S).

4.  strlcat(S) and strlcpy(S) length-terminated string functions were added.
    These provide cleaner, clearer manipulation of length-specified strings.
    The interface specification and idea of these functions were derived
    from the OpenBSD operating system.
5.  A runtime linker error message that can be encountered when attempting
    to load a UnixWare shared object was corrected.  Previously, the
    message incorrectly used the old internal name "Gemini" rather than
    "UnixWare".
6.  Non-removable embedded object stamps were deleted from the index(S),
    killpg(S), rindex(S), and strcasecmp() functions.

This cumulative SLS includes libc fixes previously deployed in OpenServer 5.0.5 and various OpenServer 5.0.4 and 5.0.5 SLSs, specifically:

1.  The libc fixes previously available in OpenServer 5.0.5 via SLS
    OSS600A, including previous fixes for Y2K compliance.  See ta110079,
    "What is SLS OSS600A, the Y2K SLS for SCO OpenServer 5.0.5 + RS505A?"
    for a full listing.
2.  The libc fixes previously available in OpenServer 5.0.5 via Release
    Supplement 505A.  See ta109909, "What is Release Supplement 505A
    for SCO OpenServer Release 5.0.5?" for a full listing.
3.  The libc fixes from OSS472A and OSS601A for OpenServer 5.0.4; these
    fixes were part of OpenServer Release 5.0.5 without any supplements.
    Specific fixes include:

+ OpenServer ELF binaries created with certain non-SCO development systems could fail with the message:

dynamic linker: : symbol not found: _init_features_vector

This change was previously available as SLS OSS472A, which is completely incorporated into this SLS.

+ A new function, signalnull(), was added to control the behavior of ELF
  binaries attempting to read the first 4KB of their address space.  By
  default, the kernel silently supplies a read-only page of zeroes.  An
  ELF process that calls signalnull(1) will instead receive SIGSEGV if it
  attempts to read from addresses below 4KB.  This can also be controlled
  on a system-wide basis by the /etc/conf/pack.d/kernel/space.c
  variables notice_null_refs and signal_null_refs.  Both COFF and ELF
  processes always receive SIGSEGV if they _write_ to the first 4KB.
  COFF processes do not receive SIGSEGV for reading the first 4KB, since
  the beginning of a COFF binary's .text is mapped there.

+ snprintf(S) would zero the first character of the output buffer if the total string length to be printed was too long for the buffer.

+ A file descriptor leak in getlogin(S) was corrected.

Software Notes and Recommendations
----------------------------------

SLS OSS621B should only be installed on:

SCO OpenServer Release 5.0.5 with Release Supplement 505A (rs505a) and SLS OSS600A (Y2K SLS for SCO OpenServer 5.0.5 + rs505a).

OR

SCO OpenServer Release 5.0.4 with Release Supplement 504C (rs504c) and SLS OSS601A (Y2K SLS for SCO OpenServer 5.0.4 + rs504c).

If installed, the previous version of this supplement, OSS621A, must be removed before installing this OSS621B.

If you already have OSS621A installed on your system:

This version of the supplement (OSS621B) supplies both the dynamic libc library and the static libc library for all SCO OpenServer 5.0.4 and SCO OpenServer 5.0.5 systems.

For SCO OpenServer 5.0.4 and 5.0.5 systems without the Development System installed, OSS621A and OSS621B are functionally equivalent.

SCO OpenServer 5.0.4 users with the SCO OpenServer Development
System installed should note that OSS621A only installed the
dynamic libc library and not the static libc library.  OSS621B
installs both libraries.  To upgrade to OSS621B, first remove
OSS621A and then install OSS621B.
Installation Instructions
-------------------------
1.  Download the OSS621B media image file (oss621b file), place
    the file in the /tmp directory and rename the file by typing
    these commands:
cd /tmp
mv oss621b VOL.000.000
2.  Run the Software Manager with the command:
# scoadmin software

or double-click on the Software Manager icon in the desktop.

3.  If the previous version of this SLS, OSS621A, is _not_ installed,
    proceed to step 4. If SLS OSS621A is already installed, remove it:

Select the "OSS621A - libc Supplement" entry, then pull down the "Software" menu and select "Remove Software".

4.  Install OSS621B: Pull down the "Software" menu and select "Install New".
5.  When prompted for the host from which to install, choose the local
    machine and then "Continue".
6.  In the "Select Media" menu, pull down the "Media Device" menu.  Select
    "Media Images", then choose "Continue".
7.  When prompted for the "Image Directory", enter "/tmp" (or the directory
    where you placed the VOL file in step 1 and choose "OK".
8.  When prompted to select software to install, make sure that the
    "OSS621B" entry is highlighted.  Choose "Install".
9.  Installation of SLS OSS621B is now complete.  To exit the
    Software Manager, select "Exit" from the "Host" menu.
Removal Instructions
--------------------
Note: Patches must be rolled back in the reverse order in which they
      were installed on a per-component basis.  That is, if OSS621B,
      the OpenServer 5.0.4/5.0.5 libc Supplement, is not the most
      recent patch applied to the UNIX component of the product, you
      will have to roll back all patches applied after OSS621B prior
      to rollback of OSS621B.

To remove SLS OSS621B from SCO OpenServer 5.0.4 and 5.0.5, take these steps:

1.  Log in as root.
2.  Execute the command:
# scoadmin software

or double-click on the Software Manager icon in the desktop.

3.  Highlight "OSS621B - libc Supplement".
4.  Pull down the "Software" menu and select "Remove Software".
5.  Once the removal finishes, quit the Software Manager.  Removal of
    SLS OSS621B is now complete.

If you have questions about this SLS, or the product on which it is installed, please contact your software supplier.

From the Xinuos technical article database, record 110931. Reproduced with permission. The original is at www.sco.com/ta/110931, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.