Patch-ID# 114235-02

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: sendfile sendfilev offset wrong bytes
Synopsis: SunOS 5.9: libsendfile.so.1 Patch
Date: Dec/13/2006


Install Requirements: NA                      
                      
Solaris Release: 9

SunOS Release: 5.9

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 114236

Topic: SunOS 5.9: libsendfile.so.1 Patch

Relevant Architectures: sparc

BugId's fixed with this patch: 4640982 4711013 6408517

Changes incorporated in this version: 6408517

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: 

/usr/lib/libsendfile.so.1
/usr/lib/sparcv9/libsendfile.so.1

Problem Description:

6408517 sendfile should only return EINTR if no bytes have been transferred
 
(from 114235-01)
 
4640982 sendfile doesn't update the offset when an error is returned
4711013 sendfilev may return wrong byte count on write errors
 
The following bug is fixed in 113453-03 (or greater)
(113453-03) 4640282 sendfile writes extra null bytes to the output file

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: To get the complete fix for bugids 4640982 (sendfile doesn't update
        the offset when an error is returned) and 4711013 (sendfilev may
        return wrong byte count on write errors), please also install the
        following patch:
 
        112233-05 (or greater)  KU patch
 
NOTE 2: To get the complete fix for 6408517 (sendfile should only
        return EINTR if no bytes have been transferred), please also
        install the following patch:
 
        114716-03 (or greater)  rcp patch

README -- Last modified date:  Wednesday, December 13, 2006

