From owner-cvs-usrbin Sat Dec 6 20:12:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12779 for cvs-usrbin-outgoing; Sat, 6 Dec 1997 20:12:08 -0800 (PST) (envelope-from owner-cvs-usrbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA12601; Sat, 6 Dec 1997 20:10:12 -0800 (PST) (envelope-from sef@FreeBSD.org) From: Sean Eric Fagan Received: (from sef@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id UAA29751; Sat, 6 Dec 1997 20:08:51 -0800 (PST) Date: Sat, 6 Dec 1997 20:08:51 -0800 (PST) Message-Id: <199712070408.UAA29751@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/truss setup.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sef 1997/12/06 20:08:51 PST Modified files: usr.bin/truss setup.c Log: Use the new PF_LINGER flag -- when this is set in a process' proc structure, said process will not have its event mask cleared (and be restarted) on the last close of a procfs/mem file for that pid. This reduces the chance that a truss-monitored process will be left hanging with these bits set and nobody looking for it. This is the least-tested change of all of these, I'm afraid. Revision Changes Path 1.4 +20 -1 src/usr.bin/truss/setup.c