From owner-freebsd-current Thu May 2 22:48:49 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA01421 for current-outgoing; Thu, 2 May 1996 22:48:49 -0700 (PDT) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA01399 for ; Thu, 2 May 1996 22:48:43 -0700 (PDT) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id XAA08744; Wed, 1 May 1996 23:17:58 -0700 (PDT) Message-Id: <199605020617.XAA08744@ref.tfs.com> Subject: Re: execve To: bde@zeta.org.au (Bruce Evans) Date: Wed, 1 May 1996 23:17:58 -0700 (PDT) From: "JULIAN Elischer" Cc: terry@lambert.org, chuckr@Glue.umd.edu, freebsd-current@FreeBSD.org, joerg_wunsch@uriah.heep.sax.de In-Reply-To: <199605020550.PAA30427@godzilla.zeta.org.au> from "Bruce Evans" at May 2, 96 03:50:29 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > OTOH, it would be easy to change config to emit: > > static const struct execsw aout_execsw = { exec_aout_imgact, "a.out" }; > static const struct execsw elf_execsw = { exec_elf_imgact, "ELF" }; > const struct linker_set execsw_set = { > 2, > { > { (caddr_t)&aout_execsw }, > { (caddr_t)&elf_execsw }, > NULL > } > }; > but you'd have to educate config about every kind of linker set and adding a new one would require changing config.... yuk > Bruce >