Subject: Re: Mapping 2 compat linux32 syscalls on a single native one
To: Christos Zoulas <christos@zoulas.com>
From: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
List: tech-kern
Date: 01/30/2007 22:10:28
On Tue, Jan 30, 2007 at 12:19:09PM -0500, Christos Zoulas wrote:
> On Jan 30,  1:34pm, njoly@pasteur.fr (Nicolas Joly) wrote:
> -- Subject: Re: Mapping 2 compat linux32 syscalls on a single native one
> 
> | Agreed.
> | 
> | Do we want to have that NPTL compat linux implies NPTL compat linux32
> | (as compat linux32 depends on compat linux64) ? Or do we allow each
> | other use separate mecanism ?
> 
> We want to advertise that we support NPTL (after we implement it). Each
> program can choose to use NPTL or old threads depending on $LD_ASSUME_KERNEL.
> If $LD_ASSUME_KERNEL is set to 2.6.x or not set at all then we use NPTL.
> If it is set to 2.4.x then we use the old clone based threads, like linux
> currently does.

wheter the process uses NPTL is determined by glibc