From owner-freebsd-hackers Tue Jun 13 22:15:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gizmo.internode.com.au (gizmo.internode.com.au [192.83.231.115]) by hub.freebsd.org (Postfix) with ESMTP id DCEA837BB4B for ; Tue, 13 Jun 2000 22:15:53 -0700 (PDT) (envelope-from newton@gizmo.internode.com.au) Received: (from newton@localhost) by gizmo.internode.com.au (8.9.3/8.9.3) id OAA71889; Wed, 14 Jun 2000 14:45:03 +0930 (CST) (envelope-from newton) Date: Wed, 14 Jun 2000 14:45:03 +0930 From: Mark Newton To: Matthew Emmerton Cc: Dan Nelson , freebsd-hackers@FreeBSD.ORG Subject: Re: SVR4 Emulation [was Re: iBCS status?] Message-ID: <20000614144503.A71162@internode.com.au> References: <20000606152128.B82736@internode.com.au> <20000606012552.A1515@dan.emsphone.com> <20000606162453.B83108@internode.com.au> <20000606094719.A19961@dan.emsphone.com> <006101bfd04c$59de5c60$1200a8c0@matt> <20000607094626.B22129@dan.emsphone.com> <20000608101038.B46114@internode.com.au> <000a01bfd0f0$a760ca50$1200a8c0@matt> <20000608115729.C46446@internode.com.au> <006601bfd5b2$fc61dc30$1200a8c0@matt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <006601bfd5b2$fc61dc30$1200a8c0@matt> X-PGP-Key: http://www.on.net/~newton/pgpkey.txt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 13, 2000 at 11:45:28PM -0400, Matthew Emmerton wrote: > Even more interesting is the SCO document on how ELFs are pseudo-branded. > OpenServer 5: No brand, but have a 28-byte NOTE field. > UnixWare 7: No brand, but have one of the flags set in the FLAG field. (I > couldn't find anything more specific than this.) Ah, thanks for that - I'll note it away for not-too-distant future reference. The emulator structures at the moment look for the ELF interpreter and try to switch on that, but I think that'll bite us with SysVR4 because all the SysVR4 OSs will use the same ELF interpreter pathname, and because it doesn't work as a discriminator anyway (Solaris executables still need to be specifically branded, or you need to rely on kern.fallback_elf_brand). Additional discriminators like this (even if they're bodgy crap ones) are useful things to know about. - mark -- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message