From owner-freebsd-threads@FreeBSD.ORG Sat Jan 17 11:56:51 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16BD016A4CF for ; Sat, 17 Jan 2004 11:56:51 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id D250343D4C for ; Sat, 17 Jan 2004 11:56:48 -0800 (PST) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.31.45.197]) by comcast.net (sccrmhc11) with ESMTP id <2004011719564701100jd02te>; Sat, 17 Jan 2004 19:56:48 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])i0HJuhZX028334 for ; Sat, 17 Jan 2004 14:56:47 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)i0HJuh1E028333 for freebsd-threads@freebsd.org; Sat, 17 Jan 2004 14:56:43 -0500 (EST) (envelope-from rodrigc) Date: Sat, 17 Jan 2004 14:56:43 -0500 From: Craig Rodrigues To: freebsd-threads@freebsd.org Message-ID: <20040117195642.GA28271@crodrigues.org> References: <20040113060007.GA23063@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040113060007.GA23063@crodrigues.org> User-Agent: Mutt/1.4.1i Subject: Re: NPTL test failures with KSE X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2004 19:56:51 -0000 On Tue, Jan 13, 2004 at 01:00:07AM -0500, Craig Rodrigues wrote: > tst-mutex3: > 4th mutex_unlock didn't return EPERM The above error in the Linux NPTL tests is gone due to this fix from David Xu: davidxu 2004/01/16 19:09:57 PST FreeBSD src repository Modified files: lib/libpthread/thread thr_mutex.c Log: Return EPERM if mutex owner is not current thread but it tries to unlock the mutex, old code confuses some programs when it returns EINVAL. Noticed by: bland Revision Changes Path 1.45 +3 -18 src/lib/libpthread/thread/thr_mutex.c -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org