Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 1996 09:15:26 +0200 (MET DST)
From:      sos@freebsd.org
To:        thorpej@nas.nasa.gov
Cc:        msmith@atrad.adelaide.edu.au, sos@freebsd.org, jdp@polstra.com, hackers@freebsd.org
Subject:   Re: Linux compat issue(s)
Message-ID:  <199610170715.JAA01884@ra.dkuug.dk>
In-Reply-To: <199610170313.UAA25575@lestat.nas.nasa.gov> from "Jason Thorpe" at Oct 16, 96 08:13:36 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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 <class> <data> <version> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610170715.JAA01884>