From owner-cvs-all Wed May 30 10:11:59 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 491CF37B423; Wed, 30 May 2001 10:11:52 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id DAA26372; Thu, 31 May 2001 03:11:49 +1000 Date: Thu, 31 May 2001 03:10:15 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Ruslan Ermilov Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/init Makefile src/libexec/rtld-elf Makefile In-Reply-To: <20010529163749.A30158@sunbay.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 29 May 2001, Ruslan Ermilov wrote: > On Tue, May 29, 2001 at 11:18:14PM +1000, Bruce Evans wrote: > > On Mon, 28 May 2001, Ruslan Ermilov wrote: > > > > > ru 2001/05/28 09:58:36 PDT > > > > > > Modified files: > > > sbin/init Makefile > > > libexec/rtld-elf Makefile > > > Log: > > > Use new backup feature of install(1). > > > > > > Revision Changes Path > > > 1.26 +2 -8 src/sbin/init/Makefile > > > 1.15 +2 -15 src/libexec/rtld-elf/Makefile > > > > Do we really want these backups? Note that the backup for init never > > actually worked in any committed version, because the existence test > > was done before bsd.prog.mk is included, so some of the variables in > > it were not set. > > > Why not? We do have init.bak listed in init_main.c:init_path[]. That's almost a reason :-). If our "secure" (schg'ed) init somehow doesn't work, then we fall back to insecure ones. But this is really another bug. > And yes, I have noticed that the backups for init(8) did not work because > make(1) resolves exists() the first time it parses it, and BINDIR is only > defined after bsd.prog.mk is included. This means that no one except the PR submitter has every used it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message