OBSOLETE Patch-ID# 108991-17
Keywords: security malloc ENOMEM syslog libc getbymember sendfilev libc
Synopsis: Obsoleted by: 108991-18 SunOS 5.8: /usr/lib/libc.so.1 patch
Date: Oct/03/2001

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

IMPORTANT:

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

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

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

Solaris Release: 8

SunOS Release: 5.8

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 108992

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

Relevant Architectures: sparc

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

Changes incorporated in this version: 4312667

Patches accumulated and obsoleted by this patch: 109680-01 110589-02 111217-02

Patches which conflict with this patch: 109079-01 (or newer)

Patches required with this patch: 

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/abi/sparcv9/abi_libc.so.1
/usr/lib/abi/sparcv9/abi_watchmalloc.so.1
/usr/lib/libc.a
/usr/lib/libc.so.1
/usr/lib/libp/libc.a
/usr/lib/libp/sparcv9/libc.so.1
/usr/lib/llib-lc
/usr/lib/llib-lc.ln
/usr/lib/nss_nisplus.so.1
/usr/lib/pics/libc_pic.a
/usr/lib/pics/sparcv9/libc_pic.a
/usr/lib/sparcv9/libc.so.1
/usr/lib/sparcv9/libnss_nisplus.so.1
/usr/lib/sparcv9/llib-lc.ln
/usr/lib/sparcv9/nss_nisplus.so.1
/usr/lib/sparcv9/watchmalloc.so.1
/usr/lib/watchmalloc.so.1

Problem Description:

4312667 getpriority fails with ESRCH when used on SHR class process.
 
(from 108991-16)
 
4408502 lfmt(3C) calls ctime() which is MT_Unsafe.
4425090 strange files in /var/adm when using utmp library (utmpname())
 
(from 108991-15)
 
4428257 Kernel patch 106541-15 makes application dysfunctional
4459797 catgets sets errno to EBADF for the special message catalog for C locale
 
(from 108991-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 108991-13)
 
	This patch revision was generated to accumulate and obsolete 
       	the feature changes introduced in feature point patch 111217-02.
 
(from 108991-12)
 
1257084 login times out, due to excessive time in group lookup
4357778 PSARC 2000/038 create /etc/default/nss
 
(from 108991-11)
 
4395379 door_return mishandles arguments after EINTR
 
(from 108991-10)
 
4341290 memory leak in regcomp
 
(from 108991-09)
 
      	This patch revision was generated to accumulate and obsolete the 
      	feature changes introduced in feature point patch 110589-02.
 
(from 108991-08)
 
4314993 libc .init race causes .div to overwrite return address in MT application
4374039 libc/realpath can still write past end of buffer
 
(from 108991-07)
 
4302592 TLI library is not fork-safe
 
(from 108991-06)
 
4366956 NLSPATH gettext introduces problems when used printf format specifier
4375449 dtmail crashes when calling catgets with NULL default message
 
(from 108991-05)
 
4303962 multi-threaded fork1/execvp can fail because __environ_lock is held in parent
 
(from 108991-04)
 
4291844 strftime and strptime are MT-Unsafe due to use of tzname[]
 
(from 108991-03)
 
4310353 msgids, semids, shmids and msgsnap
 
(from 108991-02)
 
4312278 tasks, projects, extended accounting project
 
(from 108991-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 cannot combine.
4292683 /usr/ucb/shutdown core dumps in syslog()
 
(from 110589-02)
 
	Patch reved to sync feature gate with patch gate
 
(from 110589-01)
 
4355205 System V semaphores suffer from false sharing
4355206 System V semaphore timeout mechanism
 
(from 109680-01)
 
4244731 initgroups() doesn't return all groups when RFE 4005653 (full table scans can overload NIS+ servers) is on NIS+ server
 
(from 111217-02)
 
	This patch revision was generated to include an escalated fix
	for libc.
 
(from 111217-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:
 
		108528-01 (or newer)    kernel update patch
		108993-01 (or newer)	nss and ldap patch
		108989-01 (or newer)    /usr/kernel/sys/acctctl and 
					/usr/kernel/sys/exacctsys patch
		108995-01 (or newer)    /usr/lib/libproc.so.1 patch
		109025-01 (or newer)    /usr/bin/sparcv7/truss and
					/usr/bin/sparcv9/truss patch
		109003-01 (or newer)    /etc/init.d/acctadm and 
					/usr/sbin/acctadm patch
		109009-01 (or newer)    /etc/magic and /usr/bin/file patch
		109019-01 (or newer)    /usr/bin/priocntl patch
		109027-01 (or newer)    /usr/bin/wracct patch
		108997-01 (or newer)    libexacct and libproject patch
		109007-01 (or newer)    at/atrm/batch/cron patch
		109011-01 (or newer)    /usr/bin/id and /usr/xpg4/bin/id patch
		109013-01 (or newer)    /usr/bin/lastcomm patch
		109015-01 (or newer)    /usr/bin/newtask patch
		108999-01 (or newer)    PAM patch
		109021-01 (or newer)    /usr/bin/projects patch
		109023-01 (or newer)    /usr/bin/sparcv7/ps and 
					/usr/bin/sparcv9/ps patch
		109005-01 (or newer)    /sbin/su.static and /usr/bin/su patch
		109035-01 (or newer)    useradd/userdel/usermod patch
		109029-01 (or newer)    perl patch
		109017-01 (or newer)	/usr/bin/pgrep and /usr/bin/pkill patch
		109033-01 (or newer)    /usr/bin/sparcv7/prstat and 
					/usr/bin/sparcv9/prstat patch
		109037-01 (or newer)    /var/yp/Makefile and 
					/var/yp/nicknames patch
		109031-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:
 
                109236-01 (or newer)    msgsys, semsys and shmsys patch
                109238-01 (or newer)    /usr/bin/{sparcv7,sparcv9}/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:
 
		108528-07 (or newer)	kernel update patch
		108991-09 (or newer)	/usr/lib/libc.so.1 patch
		109025-02 (or newer)    /usr/bin/sparcv7/truss and
                                        /usr/bin/sparcv9/truss patch
 
	NOTE 4: To get the complete NCAfs, NCA Proxy and sendfilev()
                feature, please install the following patches:
 
		108528-09 (or newer)	kernel update patch
                109472-06 (or newer)	/kernel/drv/tcp patch
                109234-03 (or newer)	NCA patch
                108995-02 (or newer)	/usr/lib/libproc.so.1 patch
                111295-01 (or newer)	/usr/bin/sparcv7/pstack and
					/usr/bin/sparcv9/pstack patch
                109025-03 (or newer)	/usr/bin/sparcv7/truss and
					/usr/bin/sparcv9/truss patch
                108991-13 (or newer)    /usr/lib/libc.so.1 patch
                111297-01 (or newer)    /usr/lib/libsendfile.so.1 patch

README -- Last modified date:  Thursday, January 17, 2002

