Date: Thu, 28 Mar 1996 10:45:15 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: smpatel@wam.umd.edu Cc: freebsd-bugs@freefall.freebsd.org Subject: Re: kern/1102: Differentiation of FreeBSD & Linux ELF binaries [patch] Message-ID: <199603280945.KAA24169@uriah.heep.sax.de> In-Reply-To: <199603271710.JAA09373@freefall.freebsd.org> from "Sujal Patel" at Mar 27, 96 09:10:01 am
next in thread | previous in thread | raw e-mail | index | archive | help
As Sujal Patel wrote: > Maybe I was a bit too tired when I wrote this patch, but I don't really > think it's a good idea to let the kernel parse the environment :) Well, doesn't the execve() code have to copy the environment over to the new address space anyway? I remember that Data General did some hacking in their ELF binaries to differentiate between the ``ABI'' and ``DG/UX'' ELF binaries (where they could use several optimizations if not using the m88k ABI). So i figure there is some `flags' field inside ELF that can be (ab)used. The question is: do Linux and SVR4 ELF binaries differentiate in any way? (We could certainly differentiate our own binaries, but we'll also have to determine 3rd party programs.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603280945.KAA24169>