From owner-cvs-all Tue Jul 4 13:13:32 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A52A837B5EA; Tue, 4 Jul 2000 13:13:25 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id NAA02190; Tue, 4 Jul 2000 13:13:25 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Tue, 4 Jul 2000 13:13:25 -0700 (PDT) From: Kris Kennaway To: Ollivier Robert Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/crypto/openssh sshd.c In-Reply-To: <20000704200454.A88298@keltia.freenix.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 4 Jul 2000, Ollivier Robert wrote: > According to Brian Feldman: > > Modified files: > > crypto/openssh sshd.c > > Log: > > MFF: > > Allow restarting on SIGHUP when the full path was not given as argv[0]. > > We do have /proc/curproc/file :) > > [ Following Wes & Robert's messages ] > > I'm not happy about that either. I know that /proc is not really optional > these days but it reminds me too much of the [in] /proc/curproc/cmdline Linux > thingy that bit us in early Star Office days... Well, the problem is that sshd tries to use argv[0] to respawn itself when it gets a sighup, and unless it's run with an absolute path then it will just die instead. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message