Subject: Re: Mapping 2 compat linux32 syscalls on a single native one
To: Nicolas Joly <njoly@pasteur.fr>
From: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
List: tech-kern
Date: 01/29/2007 22:27:32
> 64 bits compat linux use NPTL, but compat linux32 do not. This leads
> to problems for 32 bits linux threaded programs that i'm trying to
> debug and fix.

we had this problem in fbsd too. we solved it by introducing "linux_use26"
function that tells wheter 2.6 emulation is present or not. this is determined
by examining linux_release variable (which is a string representing what
version of linux you are trying to emulate). I guess similar solution
should work for you too..

roman