Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 1997 16:32:30 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        jlemon@americantv.com, stephen@farrell.org
Cc:        emulation@freebsd.org
Subject:   Re: linux jdk (v1.1.1-v3 and v1.1.3-pre-v1) on 2.2-STABLE/2.2.2
Message-ID:  <199707310632.QAA19072@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707310632.QAA19072>