CFT/HEADS-UP: linux 2.6.16 emulation
Robert Watson
rwatson at FreeBSD.org
Mon Jan 22 23:18:38 UTC 2007
> On Mon, Jan 22, 2007 at 07:48:07PM +0100, Kurt Jaeger wrote:
>> Hi!
>>
>> Alex Leidinger wrote:
>>> If you use a linux program, please add compat.linux.osrelease=2.6.16 to
>>> /etc/sysctl.conf (my desktop is running with 2.6.16 emulation since some
>>> days already). After the next boot (or after running "sysctl
>>> compat.linux.osrelease=2.6.16", please make sure no linux program is
>>> running already) any linux program will start with a linux kernel version
>>> of 2.6.16 instead of 2.4.2.
>>
>> Is it possible to provide a program that lists the processes running under
>> linux emu ?
>
> I dont think so... the distinguishing in kernel is done by comparing
> p->p_sysent. but its usually very easy to say what is a linux program
>
> just try to kldunload linux module and if that doesnt succeed look at your
> ps ax output for suspicous programs (acroread, skype etc.)
This might well be something useful to add though -- an ABI name exported via
kinfo_proc or such. It would also be useful for telling whether processes are
32-bit or 64-bit native processes, etc.
Robert N M Watson
Computer Laboratory
University of Cambridge
More information about the freebsd-current
mailing list