Patch-ID# 108991-02
Keywords: malloc ENOMEM syslog libc tasks projects extended accounting
Synopsis: SunOS 5.8: libc and watchmalloc patch
Date: 08/Mar/00

Solaris Release: 8

SunOS release: 5.8

Unbundled Product: 

Unbundled Release: 

Topic: SunOS 5.8: libc and watchmalloc patch

	NOTE:   Refer to Special Install Instructions section for 
                IMPORTANT specific information on this patch.

BugId's fixed with this patch: 4193683 4225913 4292683 4312278 4314913 

Changes incorporated in this version: 4312278

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch:  

Patches which conflict with this patch: 

Patches required with this patch: 108528-01 108989-01 (or newer)

Obsoleted by: 

Files included with this patch:

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

Problem Description:

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()

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: 
----------------------------- 

	NOTE:	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
		
