Patch-ID# 119689-06

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: security automounting _nsw_getoneconfig[_v1]() strdup()
Synopsis: SunOS 5.10: libc.so.1 patch
Date: Oct/19/2005


Install Requirements: Reboot immediately after patch is installed                      
                      Install in Single User Mode                      
                      
Solaris Release: 10

SunOS Release: 5.10

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 118345

Topic: SunOS 5.10: libc.so.1 patch

Relevant Architectures: sparc

BugId's fixed with this patch: 4932869 4954703 5042855 6174574 6198351 6214687 6214698 6214721 6214834 6215000 6221845 6224730 6225876 6225908 6231288 6234594 6238996 6239984 6245233 6256317 6263065 6263070 6266969 6269525 6270398 6288420 6288430 6288435 6288440 6288448

Changes incorporated in this version: 6174574 6224730 6234594 6238996 6256317 6266969 6288420 6288430 6288435 6288440 6288448

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/lib/libc.so.1
/lib/sparcv9/libc.so.1
/usr/lib/libproject.so.1
/usr/lib/sparcv9/libproject.so.1

Problem Description:

6174574 regexec: incorrect subexpression matching info may be returned into pmatch[]
6224730 printstack(3C) under amd64 misses signal handler stack frames
6238996 strfmon() doesn't handle format string # flag correctly
6256317 __fnmatch_sb may succeed '?' matching for the string which should not match
6266969 regexec may fail to match for interval subexpression contained by other interval subexpression
6288420 __regcomp_std does not fail with an invalid character class specification
6288430 __fnmatch_sb() may cause a segv with an equivalence class specification
6288435 Incorrect usage of conditional AND operator in __fnmatch_std
6288440 __fnmatch_std, __fnmatch_C, and __fnmatch_sb should be consolidated into one C source
6288448 MBTOWC_NATIVE() and WCTOMB_NATIVE() macros should use charmap ptr in the collate obj
6234594 blocking SIGCANCEL prevents pthread_cancel from working
 
(from 119689-05)
 
6270398 _nss_XbyY_fgets() does not set errno correctly when the group entry has >= 2047 characters
 
(from 119689-04)
 
6214687 posix_spawn_file_actions_{addopen,addclose,adddup2} need EBADF returns
6214698 clock_nanosleep() should return the error value rather than -1
6215000 declare availability (or not) of SUSv3 ADVANCED REALTIME features
6239984 system(3C) can be made safe to use by multiple threads concurrently
6245233 UNIX03: *vsth* CLOCK_THREAD_CPUTIME_ID is not defined in <time.h>
6225876 thread_db synchronization tracking causes cond_wait failure and hangs
6231288 libc initialization needs to cooperate better with dtrace
6269525 pthread_cancel() in an atfork handler causes hang when linked with libnsl
 
(from 119689-03)
 
4954703 userland atomic.h port should include cas primitives
5042855 threads racing in _thrp_exit may result in uncalled atexit handlers
6214721 malloc(3c) and free(3c) can be made a little faster
6214834 rand(3c) / rand_r(3c) can be made substantially faster
6221845 SMT_PAUSE() instructions are missing from two libc spin loops
6225908 single threaded standard I/O performance can be improved
 
(from 119689-02)
 
6263065 libproject incorrectly uses __init_suid_priv
6263070 __init_suid_priv() should fail safe
 
(from 119689-01)
 
4932869 _nsw_getoneconfig[_v1]() need to check each return from strdup() isn't NULL
6198351 automounting causes EAGAIN for nftw(), hence find(1) can fail

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-10 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 1:  Reboot system after patch installation is complete.
 
NOTE 2:  If you're planning to set up Zones on this system, please make sure to 
         install the following patch which fixes bugid 6216195 (zone installation 
         confused by UPDATE=yes in pkginfo(4) file.)
 
         119015-01 (or greater)  Packaging Commands Patch
 
NOTE 3:  To get the complete fix for 4954703 (userland atomic.h port should include 
         cas primitives), please also install the following patches:
 
         118822-13 (or greater)  kernel patch
         118884-01 (or greater)	 atomic.h patch
         118890-01 (or greater)	 llib-lc patch
 
NOTE 4:  To use the new C-language atomic interfaces for user-level programming,
         please also install the following patches:
 
         118884-01 (or greater)  atomic.h patch
         118890-01 (or greater)	 llib-lc patch
 
NOTE 5:  To get the complete fixes for bugids,
 
         6214687 posix_spawn_file_actions_{addopen,addclose,adddup2} need EBADF returns
         6214698 clock_nanosleep() should return the error value rather than -1
         6215000 declare availability (or not) of SUSv3 ADVANCED REALTIME features
         6239984 system(3C) can be made safe to use by multiple threads concurrently
         6245233 UNIX03: *vsth* CLOCK_THREAD_CPUTIME_ID is not defined in <time.h>
 
	 please also install the following patch:
 
         118925-01 (or greater)  unistd header file patch

README -- Last modified date:  Wednesday, October 19, 2005

