From owner-freebsd-current Wed Feb 5 22:27:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA24757 for current-outgoing; Wed, 5 Feb 1997 22:27:47 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA24713 for ; Wed, 5 Feb 1997 22:27:43 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id QAA01550; Thu, 6 Feb 1997 16:57:13 +1030 (CST) From: Michael Smith Message-Id: <199702060627.QAA01550@genesis.atrad.adelaide.edu.au> Subject: Re: linux ELF codine no go on 2.2 Gamma In-Reply-To: <970206010953_818697893@emout05.mail.aol.com> from "StevenR362@aol.com" at "Feb 6, 97 01:22:09 am" To: StevenR362@aol.com Date: Thu, 6 Feb 1997 16:57:12 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, rcarter@consys.com, current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 StevenR362@aol.com stands accused of saying: > I've been wondering if there is any way to abuse the filesystem to > identify > Linux, SCO, and BSDI binaries. Why not make the assumption in the > kernel that any binary loaded from /compat/[linux,sco,bsdi] is an elf binary > of the type denoted by the subdirectory. This would eliminate any need > to brand the binaries. You would just install them under the appropriate > subdirectory of /compat. This makes the implicit and reasonable assumption > that any elf binary not under /compat is a native FreeBSD one. I've already proposed this; I was assuming that SOS had already done it. If there's no major disagreement, I'll look at adding the code to imgact_elf.c at some point soonish. (I'm about to dive back into that hell, as I'm going to have to try building FlexLM for Linux under FreeBSD. I'd love to be able to build it native 8( ) > STeve -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[