From owner-freebsd-arch Thu Jul 5 14:26:37 2001 Delivered-To: freebsd-arch@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-93.dsl.lsan03.pacbell.net [63.207.60.93]) by hub.freebsd.org (Postfix) with ESMTP id 25AC337B401 for ; Thu, 5 Jul 2001 14:26:33 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 31FA166C4D; Thu, 5 Jul 2001 14:26:28 -0700 (PDT) Date: Thu, 5 Jul 2001 14:26:27 -0700 From: Kris Kennaway To: Chris Wasser Cc: arch@FreeBSD.org Subject: Re: netbsd rc system diff Message-ID: <20010705142627.A38780@xor.obsecurity.org> References: <20010617150050.F582@skunkworks.arpa.mil> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010617150050.F582@skunkworks.arpa.mil>; from cwasser@v-wave.com on Sun, Jun 17, 2001 at 03:00:50PM -0600 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 17, 2001 at 03:00:50PM -0600, Chris Wasser wrote: > Attached is a diff to rc.subr which applies the aforementioned > implementation. Ofcourse this isn't a end-all-be-all solution, ideally a > specialized tool would be used to differentiate which is an actual > parent process and which are children/threads. I haven't been following this thread too closely, but if the goal is to identify the parent PID of some service, then surely the best thing to do is to record the PID in /var/run/*.pid at the time it is started, so there is no ambiguity later on. Kris --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7RNuCWry0BWjoQKURAl6HAJ484ETmTIbo+KdU782lDlaLIzBYAACgg2t9 5W5zgaM83kiMCZFsE9Ih6W4= =WgyC -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message