Patch-ID# 104253-01
Keywords: tnetd memory leaks flush swap panic
Synopsis: Trusted Solaris 1.1: tnetd memory leak can cause panic
Date: Nov/27/96

Solaris Release: Trusted_Solaris_1.1

SunOS Release: 

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc
    NOTE: sun4, sun4c, sun4m

BugId's fixed with this patch: 1257994

Changes incorporated in this version: 

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: 

   tnetd

Problem Description: 

   Memory leak during tnetdb flush causes tnetd size to grow without bound
   causing kernel panic.
    

Patch Installation Instructions: 

   In single-user mode, install the patch data into a temporary directory.  
   For example:

   # mkdir /var/tmp/patch/PATCH-ID
   # cd /var/tmp/patch/PATCH-ID
   # tar -xfv /dev/rst0

   Backup the files that will be replaced to a safe filename.

   # mv /usr/etc/tnetd /usr/etc/tnetd.FCS
   # cp /var/tmp/patch/PATCH-ID/tnetd /usr/etc/tnetd

   Install the new binary, setting appropriate file attributes

   # chown root.staff /usr/etc/tnetd
   # chmod 700 /usr/etc/tnetd
   # setlabel "system_low[system_low]" /usr/etc/tnetd
   # chpriv a=`lspriv -ca /usr/etc/tnetd.FCS` /usr/etc/tnetd
   # chpriv f=`lspriv -cf /usr/etc/tnetd.FCS` /usr/etc/tnetd
   # cd /etc/security
   # mkdb TNETDB 4096 80
   # chgrp staff TNETDB
   # sync; sync; reboot

