From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 15 15:36:28 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2A1116A424; Thu, 15 Sep 2005 15:36:28 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1942343D46; Thu, 15 Sep 2005 15:36:27 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.41.233] (Not Verified[10.50.41.233]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 15 Sep 2005 11:52:08 -0400 From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 15 Sep 2005 11:37:31 -0400 User-Agent: KMail/1.8 References: <20050915104839.GC1098@zi025.glhnet.mhn.de> In-Reply-To: <20050915104839.GC1098@zi025.glhnet.mhn.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509151137.32110.jhb@FreeBSD.org> Cc: Simon Barner Subject: Re: {get,set}_fsbase, {get,set}_gsbase and Valgrind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 15:36:28 -0000 On Thursday 15 September 2005 06:48 am, Simon Barner wrote: > Doug, > hackers, > > a user of the valgrind port reported that it crashed due to an unhandled > sysarch call (ports/86007). > > I found out, that this was because of the get_fsbase, set_fsbase, > get_gsbase and set_gsbase calls, which were introduced in FreeBSD 6. > > I'd be happy if somebody could review my attached patch. It's quite > possible that it does not make sense at all since I created it by > adopting the code for the other cases without having a real clue about > what I was doing :-/ > > Also, since I could not find any documentation for these calls, it would > be very nice to know what they are good for, and if programs like > valgrind have to take special care of them. > > Best regards, > Simon Your best bet is probably to mail the patch in a followup to the PR so that it doesn't get lost. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org