Subject: Re: COMPAT_LINUX: why getpid() turned into a chown()?
To: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
From: Jaromír Dolecek <dolecek@ics.muni.cz>
List: tech-kern
Date: 01/30/2001 10:50:30
Emmanuel Dreyfus wrote:
> I've now been stuck for more than a week on the same bug: When running
> Netscape in emulation, a getpid() turns into a chown(), and it fails.
Also check which syscall code is passed to syscall trap (in
arch/powerpc/trap.c:179).
IIRC Linux on i386 doesn't have special syscall(2) syscall and has
something else as syscall number 0. It is probably similar on
powerpc. Maybe it causes some problems ?
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, dammit! @@@@