From owner-freebsd-emulation Wed Jul 30 23:37:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA09179 for emulation-outgoing; Wed, 30 Jul 1997 23:37:53 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA09161 for ; Wed, 30 Jul 1997 23:37:40 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id QAA19072; Thu, 31 Jul 1997 16:32:30 +1000 Date: Thu, 31 Jul 1997 16:32:30 +1000 From: Bruce Evans Message-Id: <199707310632.QAA19072@godzilla.zeta.org.au> To: jlemon@americantv.com, stephen@farrell.org Subject: Re: linux jdk (v1.1.1-v3 and v1.1.3-pre-v1) on 2.2-STABLE/2.2.2 Cc: emulation@freebsd.org Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >This ktrace shows that syscalls are being made to mincore(). Now, I'm >admittedly not familiar with the linux emulation code, but I don't think >that mincore() is a linux syscall, at least it isn't listed in the linux >syscalls.master file. However, under BSD, the syscall number for mincore() >is 78, while under linux, gettimeofday() == 78. > >gettimeofday() appears to be a more likely syscall than mincore(). > >It almost appears that somehow this process has 'forgotten' that it is an >emulated linux process, and is calling the native BSD routines directly. It never knew. kdump knows nothing of sysent vectors or emulation. For syscall 78, it prints syscallnames[78], where syscallnames[] is the table of BSD syscall names in kern/syscalls.c. Bruce