Patch-ID# 100174-06 Keywords: tmpfs, crash, fail assertion, leaks, anonymous Synopsis: SunOS 4.1.1: fixes for many tmpfs bugs. Date: 10-Sep-91 SunOS release: 4.1.1 Unbundled Product: Unbundled Release: Topic: BugId's fixed with this patch: 1042350 1038651 1044192 1043270 1057963 1049027 1054054 1047586 1091294 Architectures for which this patch is available: sun3 sun3x sun4 sun4c Obsoleted by: SunOS 5.0 Problem Description: These files contain bug fixes for the following bugs: 1038651: Using tmpfs ie ram /tmp can cause data initialization with Fortran on SunOS 4.1. 1044192: hard link to a directory succeeds on tmpfs for non-root users 1042350: tmpfs problem with ftruncate test in SCTS from SUNVS. 1043270: tmpfs disallows mmap beyond end of file 1057963: cannot mount an exported tmpfs directory 1049027: tmpfs hangs and deadlocks 1047586: mkfifo does not work on tmpfs 1054054: +s and +t together do not work as expected 1091294: tmpfs "leaks" anonymous memory INSTALL: mv the new versions of tmp_vnodeops.o and tmp_tnode.o into /sys/($arch -k)/OBJ after first saving the old versions aside as a precaution. AS ROOT: mv /sys/`arch -k`/OBJ/tmp_vnodeops.o /sys/`arch -k`/OBJ/tmp_vnodeops.o.FCS mv /sys/`arch -k`/OBJ/tmp_tnode.o /sys/`arch -k`/OBJ/tmp_tnode.o.FCS mv `arch -k`/tmp_vnodeops.o /sys/`arch -k`/OBJ/tmp_vnodeops.o mv `arch -k`/tmp_tnode.o /sys/`arch -k`/OBJ/tmp_tnode.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.