Patch-ID# 108992-18
Keywords: security malloc ENOMEM syslog libc ALL_RESULTS sendfilev libc
Synopsis: SunOS 5.8_x86: /usr/lib/libc.so.1 patch
Date: Nov/07/2001

******************************************************

IMPORTANT:

This patch introduced a bug (bugid 4502131)
- "domainname" command return wrong exit code.

After installing this patch, please also install patch
112139-01, which will rectify the problem.

*******************************************************

Solaris Release: 8_x86

SunOS Release: 5.8_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 108991

Topic: SunOS 5.8_x86: /usr/lib/libc.so.1 patch
	NOTE:   Refer to Special Install Instructions section for 
                IMPORTANT specific information on this patch.

Relevant Architectures: i386

BugId's fixed with this patch: 1257084 4193683 4225913 4244731 4291844 4292683 4302592 4303962 4310353 4312278 4312667 4314913 4341290 4355205 4355206 4357778 4366956 4374039 4375449 4386274 4395379 4396628 4400361 4408502 4419882 4425090 4428257 4452064 4459797

Changes incorporated in this version: 4419882

Patches accumulated and obsoleted by this patch: 109681-01 110590-02 111218-02

Patches which conflict with this patch: 

Patches required with this patch: 108529-07 or greater 108990-01 or greater

Obsoleted by: 

Files included with this patch: 

/etc/default/nss
/usr/include/nl_types.h
/usr/lib/abi/abi_libc.so.1
/usr/lib/abi/abi_watchmalloc.so.1
/usr/lib/libc.a
/usr/lib/libc.so.1
/usr/lib/libp/libc.a
/usr/lib/llib-lc
/usr/lib/llib-lc.ln
/usr/lib/nss_nisplus.so.1
/usr/lib/pics/libc_pic.a
/usr/lib/watchmalloc.so.1

Problem Description:

4419882 large select(3c) timeout
 
(from 108992-17)
 
4312667 getpriority fails with ESRCH when used on SHR class process.
 
(from 108992-16)
 
4408502 lfmt(3C) calls ctime() which is MT_Unsafe.
4425090 strange files in /var/adm when using utmp library (utmpname())
 
(from 108992-15)
 
4428257 Kernel patch 106541-15 makes application dysfunctional
4459797 catgets sets errno to EBADF for the special message catalog for C locale
 
(from 108992-14)
 
4396628 UNIX98: catopen() does not set errno when it receives a null or empty string
4386274 check_nlspath_env should avoid using strncmp()
4452064 errno handling of catgets is not correct
 
(from 108992-13)
 
	This patch revision was generated to accumulate and obsolete 
       	the feature changes introduced in feature point patch 111218-02.
 
(from 108992-12)
 
1257084 login times out, due to excessive time in group lookup
4357778 PSARC 2000/038 create /etc/default/nss
 
(from 108992-11)
 
4395379 door_return mishandles arguments after EINTR
 
(from 108992-10)
 
4341290 memory leak in regcomp
 
(from 108992-09)
 
      This patch revision was generated to accumulate and obsolete the 
      feature changes introduced in feature point patch 110590-02
 
(from 108992-08)
 
4374039 libc/realpath can still write past end of buffer
 
(from 108992-07)
 
4302592 TLI library is not fork-safe
 
(from 108992-06)
 
4366956 NLSPATH gettext introduces problems when used printf format specifier
4375449 dtmail crashes when calling catgets with NULL default message
 
(from 108992-05)
 
4303962 multi-threaded fork1/execvp can fail because __environ_lock is held in parent
 
(from 108992-04)
 
4291844 strftime and strptime are MT-Unsafe due to use of tzname[]
 
(from 108992-03)
 
4310353 msgids, semids, shmids and msgsnap
 
(from 108992-02)
 
4312278 tasks, projects, extended accounting project
 
(from 108992-01)
 
4193683 malloc() with very big requested array size works incorrectly
4225913 malloc does not set errno to ENOMEM when not enough memory
4314913 fix for Bug 4042527 leaves part of heap unusable, so frees can not combine.
4292683 /usr/ucb/shutdown core dumps in syslog()
 
(from 110590-02)
 
       Patch reved to sync feature gate with patch gate
 
(from 110590-01)
 
4355205 System V semaphores suffer from false sharing
4355206 System V semaphore timeout mechanism
 
(from 109681-01)
 
4244731 initgroups() doesn't return all groups when RFE 4005653 (full table scans can overload NIS+ servers) is on NIS+ server
 
(from 111218-02)
 
	This patch revision was generated to include an escalated fix.
 
(from 111218-01)
 
4400361 Need to add support for sendfilev() system call

Patch Installation Instructions:
--------------------------------
 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-8 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
----------------------------- 
 
Reboot the system after patch installation.
 
	NOTE 1:	To get the complete support for Tasks, Projects and
		Accounting, one needs to install the following patches:
 
		108529-01 (or newer)    kernel update patch
		108994-01 (or newer)	nss and ldap patch
		108990-01 (or newer)    /usr/kernel/sys/acctctl and 
					/usr/kernel/sys/exacctsys patch
		108996-01 (or newer)    /usr/lib/libproc.so.1 patch
		109026-01 (or newer)    /usr/bin/i86/truss patch
		109004-01 (or newer)    /etc/init.d/acctadm and 
					/usr/sbin/acctadm patch
		109010-01 (or newer)    /etc/magic and /usr/bin/file patch
		109020-01 (or newer)    /usr/bin/priocntl patch
		109028-01 (or newer)    /usr/bin/wracct patch
		108998-01 (or newer)    libexacct and libproject patch
		109008-01 (or newer)    at/atrm/batch/cron patch
		109012-01 (or newer)    /usr/bin/id and /usr/xpg4/bin/id patch
		109014-01 (or newer)    /usr/bin/lastcomm patch
		109016-01 (or newer)    /usr/bin/newtask patch
		109000-01 (or newer)    PAM patch
		109022-01 (or newer)    /usr/bin/projects patch
		109024-01 (or newer)    /usr/bin/i86/ps patch
		109006-01 (or newer)    /sbin/su.static and /usr/bin/su patch
		109036-01 (or newer)    useradd/userdel/usermod patch
		109030-01 (or newer)    perl patch
		109018-01 (or newer)	/usr/bin/pgrep and /usr/bin/pkill patch
		109034-01 (or newer)    /usr/bin/i86/prstat patch
		109038-01 (or newer)    /var/yp/Makefile and 
					/var/yp/nicknames patch
		109032-01 (or newer)    projadd/projdel/projmod patch
 
 
	NOTE 2: To get the complete fix for 4310353 (msgids, semids,
                shmids and msgsnap -- provide all of the System 5 message 
                queue identifiers in the system), one needs to install
                the following patches:
 
                109237-01 (or newer)    msgsys, semsys and shmsys patch
                109239-01 (or newer)    /usr/bin/i86/ipcs patch
 
	NOTE 3: To get the complete fix for
 
                4355205 System V semaphores suffer from false sharing
                4355206 System V semaphore timeout mechanism
 
                one needs to install the following patches:
 
                108529-07 (or newer)    kernel update patch
                108992-09 (or newer)    /usr/lib/libc.so.1 patch
                109026-02 (or newer)    /usr/bin/i86/truss patch
 
	NOTE 4:	To get the complete NCAfs, NCA Proxy and sendfilev()
		feature, please install the following patches:
 
		108529-09 (or newer)    kernel update patch
                109473-06 (or newer)	/kernel/drv/tcp patch
                109235-04 (or newer)	NCA patch
                108996-02 (or newer)	/usr/lib/libproc.so.1 patch
                111296-01 (or newer)	/usr/bin/i86/pstack patch
                109026-04 (or newer)	/usr/bin/i86/truss patch
                108992-13 (or newer)	/usr/lib/libc.so.1 patch
                111298-01 (or newer)	/usr/lib/libsendfile.so.1 patch

README -- Last modified date:  Tuesday, December 4, 2001

