Subject: Re: disabling PTHREAD_CONCURRENCY for 3.0
To: Chuck Silvers <chuq@chuq.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 12/11/2005 13:22:02
On Sat, Dec 10, 2005 at 04:41:29PM -0800, Chuck Silvers wrote:
> since the code triggered by setting PTHREAD_CONCURRENCY causes
> library aborts and kernel panics, I'd like to disable it for 3.0
> since it doesn't appear that it can be fixed in time.
> 
> any objections to the attached patch?  I'll just ask for it to be

If PTHREAD_CONCURRENCY > 1 can cause kernel panics, just removing it from
libpthread isn't enouth. The kernel has to be patched as well, otherwise a
local user could start an application linked with a bad libpthread and
cause a local DOS.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--