Patch-ID# 100507-06
Keywords: panics security hard system tmpfs create panic link fifo crash 
Synopsis: SunOS 4.1.3: tmpfs jumbo patch
Date: Mar/29/95
 
Solaris Release: 1.1

SunOS Release: 4.1.3
 
Unbundled Product: 
 
Unbundled Release:
 
Notes: Patch 100507-06 will continue to only support 4.1.3.  Patch supports
for 4.1.2 is 102395-01.  This patch is also available for 4.1.3_U1 as
102396-01.

BugId's fixed with this patch: 1107805 1038651 1091294 1089447 1083412 1154340

Changes incorporated in this version: 1107805 

Architectures for which this patch is available: sun4 sun4c sun4m

Obsoleted by: 

Patches accumulated and obsoleted by this patch: 

Files included with this patch: README
				tmp_dir.o
				tmp_subr.o
				tmp_tnode.o  
				tmp_vfsops.o
				tmp_vnodeops.o

Problem Description:

These files contain bug fixes for the following bugs:

1107805: Create a fifo on a tmpfs file system. ls -l on a hard link to fifo panics system. 
1154340: tmpfs can zero out sparse files on reading.
1038651: Using tmpfs ie ram /tmp can cause data initialization with
         Fortran on SunOS 4.1.
1091294: tmpfs "leaks" anonymous memory
1089447: panic: tmp_rename
1083412: copying files from an nfs mounted partition to a tmpfs mount
			can result in security breach


Patch Installation Instructions:

As root:

mv /sys/`arch -k`/OBJ/tmp_dir.o /sys/`arch -k`/OBJ/tmp_dir.o.FCS
mv /sys/`arch -k`/OBJ/tmp_subr.o /sys/`arch -k`/OBJ/tmp_subr.o.FCS
mv /sys/`arch -k`/OBJ/tmp_tnode.o /sys/`arch -k`/OBJ/tmp_tnode.o.FCS
mv /sys/`arch -k`/OBJ/tmp_vfsops.o /sys/`arch -k`/OBJ/tmp_vfsops.o.FCS
mv /sys/`arch -k`/OBJ/tmp_vnodeops.o /sys/`arch -k`/OBJ/tmp_vnodeops.o.FCS
mv `arch -k`/tmp_dir.o /sys/`arch -k`/OBJ/tmp_dir.o
mv `arch -k`/tmp_subr.o /sys/`arch -k`/OBJ/tmp_subr.o
mv `arch -k`/tmp_tnode.o /sys/`arch -k`/OBJ/tmp_tnode.o
mv `arch -k`/tmp_vfsops.o /sys/`arch -k`/OBJ/tmp_vfsops.o
mv `arch -k`/tmp_vnodeops.o /sys/`arch -k`/OBJ/tmp_vnodeops.o

Run /etc/config on your kernel and do a make. Install the newly configured
vmunix and reboot. Refer to the Systems and Network administrations manual
on how to configure a kernel.
