From owner-freebsd-hackers Thu Oct 17 00:15:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA11096 for hackers-outgoing; Thu, 17 Oct 1996 00:15:52 -0700 (PDT) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA11088; Thu, 17 Oct 1996 00:15:49 -0700 (PDT) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id JAA01884; Thu, 17 Oct 1996 09:15:26 +0200 Message-Id: <199610170715.JAA01884@ra.dkuug.dk> Subject: Re: Linux compat issue(s) To: thorpej@nas.nasa.gov Date: Thu, 17 Oct 1996 09:15:26 +0200 (MET DST) Cc: msmith@atrad.adelaide.edu.au, sos@freebsd.org, jdp@polstra.com, hackers@freebsd.org In-Reply-To: <199610170313.UAA25575@lestat.nas.nasa.gov> from "Jason Thorpe" at Oct 16, 96 08:13:36 pm From: sos@freebsd.org Reply-to: sos@freebsd.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In reply to Jason Thorpe who wrote: > > After a week-long e-mail exchange, nothing really useful came out of > it at all... Two ideas were discussed among the NetBSD developers: > > (1) Use some of the unused bytes at the end of e_ident[]. > I.e. have something like: > > \177 E L F N B S D > > If some OS chooses not to look at the entire e_ident[] > field, well, tough :-) This is what I just added support for in FreeBSD, we currently "know" brands "FreeBSD" & "Linux", and there is a util brandelf to set the bits if need be. > (2) Use a special notes section. Probably cleaner, but not feasible on allready linked binaries. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.