Subject: Re: COMPAT_LINUX: why getpid() turned into a chown()?
To: Allen Briggs <briggs@ninthwonder.com>
From: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
List: tech-kern
Date: 01/30/2001 00:11:43
> > 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.
> Are you sure that the Linux compat syscall mapping is correct?
Yes. I made a test program that calls setgid(), built it on Linux, it
does call setgid() on NetBSD.
> Are you sure that it's running in Linux emulation?
kdump tells me so.
192 netscape-communi EMUL "linux"
192 netscape-communi RET olduname -1 errno -2 No such file or
directory
192 netscape-communi CALL getegid
192 netscape-communi RET getegid 500/0x1f4
It's not related, but I'd like to fix this anoying "RET olduname", but I
don't know where to look at.
=20
--=20
Emmanuel Dreyfus. p99dreyf@criens.u-psud.fr
X Window, c'est un millefeuille avec une couche de cr=E8me patissi=E8re, un=
e
de ketchup, et une d'anchois. Faut aimer. Mais c'est vrai que c'est un=20
systeme ouvert: on peut ajouter des pepites de chocolat et des c=E2pres