From owner-cvs-all Fri Jul 9 11:43: 7 1999 Delivered-To: cvs-all@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id D7C171567C; Fri, 9 Jul 1999 11:43:03 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i011.ztm.euronet.nl [194.134.112.12]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id UAA22176; Fri, 9 Jul 1999 20:43:01 +0200 (MET DST) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id UAA54742; Fri, 9 Jul 1999 20:42:58 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <378642B2.102CB219@scc.nl> Date: Fri, 09 Jul 1999 20:42:58 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern imgact_elf.c References: <199907091805.LAA76585@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Peter Wemm wrote: > > peter 1999/07/09 11:05:05 PDT > > Modified files: > sys/kern imgact_elf.c > Log: > Minor tweak - don't cause a warning. > I don't know if it was intentional or not, but it would have printed out: > /compat/linux/foo/bar.so: interpreter not found > If it was, then I've broken it. De-constifying the 'interp' variable > or carrying the constness through to elf_load_file() are alternatives. It was intentional. The error would pop up if either 1) /compat/ is not populated, or 2) the binary is started in a chroot'd env other than /compat/. Having /compat/ in the error immediately rings a bell (I hope). -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message