On Sun, Oct 26, 2008 at 10:06:08AM +0000, Andrew Doran wrote: > On Sun, Oct 26, 2008 at 12:15:40AM -0400, Christos Zoulas wrote: > > > | Also, -5 will have a hack there for COMPAT_SA, and I'm pretty sure that > > | makes it unworkable with this change. > > > > This is about the hard-coding of the segment descriptors in > > the context setting code in libpthread in 3.x? The library should > > be fixed, not the kernel. > > I agree. Putting random descriptor numbers into ucontext_t can't be expected > to work long term. Where is the offending code in 3.x? http://mail-index.netbsd.org/source-changes/2006/03/29/0089.html It can be pulled-up easily to -3 branches, it's a single, no-side-effect commit. -- Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost "See the look on my face from staying too long in one place [...] every time the morning breaks I know I'm closer to falling" KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Description: PGP signature