Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 2000 14:52:13 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Brian Fundakowski Feldman <green@FreeBSD.org>
Cc:        Robert Watson <rwatson@FreeBSD.org>, Wes Morgan <morganw@chemicals.tacorp.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/crypto/openssh sshd.c
Message-ID:  <3962CD0D.2FAA48CA@newsguy.com>
References:  <Pine.BSF.4.21.0007041957120.83838-100000@green.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

		<jkh> _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."
		<EE> jkh: does it really include the 'good luck' part?
		<jkh> EE: OK, I made that part up.
		<jkh> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3962CD0D.2FAA48CA>