Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 1997 16:24:45 -0700
From:      Sean Eric Fagan <sef@Kithrup.COM>
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:  <199707302324.QAA07729@kithrup.com>

index | next in thread | raw e-mail

>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.
>
>Would this make any sense?

ktrace only grabs the system call number, but doesn't know anything about
emulated systems; as a result, it can't do a translation from syscall number
to any name other than BSD.

This is something I'm thinking about, although not for ktrace.

Sean.


help

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