From owner-freebsd-current Tue Nov 23 16:15:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [207.167.3.130]) by hub.freebsd.org (Postfix) with ESMTP id 06E9E154A6 for ; Tue, 23 Nov 1999 16:15:30 -0800 (PST) (envelope-from lyndon@orthanc.ab.ca) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.10.0.Beta6/8.10.0.Beta6) with ESMTP id dAO0DQQ83185; Tue, 23 Nov 1999 17:13:26 -0700 (MST) Message-Id: <199911240013.dAO0DQQ83185@orthanc.ab.ca> To: David Malone Cc: Brian Somers , Poul-Henning Kamp , Dan Nelson , Forrest Aldrich , freebsd-current@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: ps on 4.0-current In-reply-to: Your message of "Tue, 23 Nov 1999 23:57:42 GMT." <19991123235742.A4913@walton.maths.tcd.ie> Date: Tue, 23 Nov 1999 17:13:25 -0700 From: Lyndon Nerenberg Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "David" == David Malone writes: David> I guess it goes with the "stop ps showing the environment" David> changes. If you remove one it makes sense to remove the David> other. After you verify that this change isn't going to break things that assume they can see the *argv list via ps(1). I.e. lightning bolts that do 'kill -MUMBLE `ps -ax|grep foo`'. Which may not be elegant style, but sometimes is the only workable solution. Where this could be an issue is binaries with multiple names. E.g. if bar is a symlink to foo, and you execute bar, ps (old style) reports: 83158 p0 S 0:00.00 bar (foo) I *suspect* in the new scheme when running non-root, you don't see bar show up. If that's the case, we've broken working code. Now, if instead printing *argv[] follows the -e semantics I posted to the list a couple of days ago, all should be well. --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message