CFT/HEADS-UP: linux 2.6.16 emulation

Jilles Tjoelker jilles at stack.nl
Thu Jan 25 14:35:22 UTC 2007


On Mon, Jan 22, 2007 at 11:18:37PM +0000, Robert Watson wrote:
> >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.

The /proc/<pid>/etype file shows this, for example

% cat /proc/$$/etype
FreeBSD ELF32

You need procfs mounted which is undesirable. The code is in
/sys/fs/procfs/procfs_type.c by the way.

-- 
Jilles Tjoelker


More information about the freebsd-current mailing list