Subject: Re: COMPAT_LINUX: a problem with dup2()
To: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
From: Jaromír Dolecek <dolecek@ics.muni.cz>
List: tech-kern
Date: 01/01/2001 18:07:04
Emmanuel Dreyfus wrote:
> Is there any drawbacks of just skipping linux_signature on the PowerPC?
> If not, what's the prefered way?

Yeah, interpreter name would not be filled in if I read the code
correctly.

The code seems to check for itp[] being /lib/ld-linux - that part seems to
be generic enough to be correct. You might want to check the linux
singnature function for what itp[] contains and what are the results of
each test in the for(;;) cycle. My guess is that Linux/PPC doesn't have the
ELF_NOTE_ABI_OS_LINUX set or something has other size that there is
some other difference in ELF implementation (oh well).

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@