From owner-freebsd-hackers Sun Jul 12 19:46:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25273 for freebsd-hackers-outgoing; Sun, 12 Jul 1998 19:46:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from beatrice.rutgers.edu (beatrice.rutgers.edu [165.230.209.143]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA25268 for ; Sun, 12 Jul 1998 19:46:54 -0700 (PDT) (envelope-from easmith@beatrice.rutgers.edu) Received: (from easmith@localhost) by beatrice.rutgers.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) id WAA24866 for freebsd-hackers@FreeBSD.ORG; Sun, 12 Jul 1998 22:45:30 -0400 (EDT) From: "Allen Smith" Message-Id: <9807122245.ZM24864@beatrice.rutgers.edu> Date: Sun, 12 Jul 1998 22:45:30 -0400 X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: freebsd-hackers@FreeBSD.ORG Subject: Best means of telling if a proc is still around? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. What's the best fast means of telling if a reference to a proc structure is still valid? I'm needing this for the work on privileges that I'm doing. (Specifically, there are circumstances where an action initiated by a process that then exits may be a privileged one, and may not get to the point of checking the privileges before the exit takes place.) Thanks, -Allen -- Allen Smith easmith@beatrice.rutgers.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message