Patch-ID# 114163-01
Keywords: security lofi lofi_ioctl panic sysevent lofi_get_info EIO
Synopsis: SunOS 5.8_x86: /kernel/drv/lofi drivers and /usr/sbin/lofiadm patch
Date: Apr/07/2003

Install Requirements: None                      
Solaris Release: 8_x86

SunOS Release: 5.8_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 114162

Topic: SunOS 5.8_x86: /kernel/drv/lofi drivers and /usr/sbin/lofiadm patch

Relevant Architectures: i386

BugId's fixed with this patch: 4302817 4331110 4335489 4342447 4348291 4361731 4389001 4446576 4477843 4505225 4526709 4628272 4649233

Changes incorporated in this version: 4302817 4331110 4335489 4342447 4348291 
4361731 4389001 4446576 4477843 
4505225 4526709 4628272 4649233

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: 

/kernel/drv/lofi
/usr/include/sys/lofi.h
/usr/sbin/lofiadm

Problem Description:

4348291 mkfile is very slow on lofi
4649233 lofi_detach() returns EBUSY instead of DDI_FAILURE
4628272 panic: ufs_putapage: bn == UFS_HOLE
4526709 lofi doesn't count layered opens correctly
4505225 lofi on files on hsfs doesn't work anymore
4477843 lofi_ioctl(LOFI_GET_MAXMINOR) holds lock across copyout
4446576 lofi can now be detached while active
4389001 lofi should return EIO for I/O past end of file
4361731 lofi panics when underlying file system experiences errors
4342447 panic in lofi during sysevent tests
4335489 lofi needs a bit more hardening
4331110 memory leak in lofi_get_info
4302817 lofi doesn't properly indicate EOF when the raw devices are accessed

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-9 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.

README -- Last modified date:  Monday, April 7, 2003

