From owner-cvs-all Tue Jul 4 22:51:56 2000 Delivered-To: cvs-all@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 19FD037B5FE; Tue, 4 Jul 2000 22:51:49 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p61-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.126]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id OAA07728; Wed, 5 Jul 2000 14:51:36 +0900 (JST) Message-ID: <3962CD0D.2FAA48CA@newsguy.com> Date: Wed, 05 Jul 2000 14:52:13 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Brian Fundakowski Feldman Cc: Robert Watson , Wes Morgan , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/crypto/openssh sshd.c References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Fundakowski Feldman wrote: > > No, no, you two are mistaken here; this is a fallback if the execv() fails > for the saved argv. It works like this: > > try to exec what we were invoked with. > try to exec what we were invoked with _determined by the file > system_, using /proc > give up. > > The middle step is what I added. There's no reliance on procfs. procfs > exists as a convenience, and in this case it makes it possible for you > to HUP sshd even when you invoked it using a non-canonical name. This > is a big convenience when you start daemons interactively. It's Good (TM) :) It obscures configuration bugs (ie, lack of full path in the configuration file). -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.great.underground.bsdconpiracy.org _DES: The Book of Bruce has only one sentence in it, and it says "the actual directives of my cult are left as an exercise for the reader. Good luck." jkh: does it really include the 'good luck' part? EE: OK, I made that part up. EE: I figured it should sound a bit more cheery than how Bruce initially dictated it to me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message