From owner-freebsd-arch Thu Oct 31 22: 0:33 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F09837B401 for ; Thu, 31 Oct 2002 22:00:32 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C02843E77 for ; Thu, 31 Oct 2002 22:00:31 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA160P0N083892; Thu, 31 Oct 2002 22:00:25 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA160RbE002422; Thu, 31 Oct 2002 22:00:27 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gA160R97002421; Thu, 31 Oct 2002 22:00:27 -0800 (PST) (envelope-from marcel) Date: Thu, 31 Oct 2002 22:00:26 -0800 From: Marcel Moolenaar To: Bruce Evans Cc: arch@FreeBSD.ORG Subject: Re: i386: Bug in prototype for rgs() Message-ID: <20021101060026.GA2372@dhcp01.pn.xcllnt.net> References: <20021101015515.GA1707@dhcp01.pn.xcllnt.net> <20021101155451.G13913-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021101155451.G13913-100000@gamplex.bde.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 01, 2002 at 04:58:18PM +1100, Bruce Evans wrote: > > Here the upper bits are garbage simply because linux_sendsig() is missing > a bzero() and gcc doesn't write to them. A bzero() is necessary in case > there are any [other] holes in the struct. Yeah, I noticed that too and moved the bzero that covered the fpstate all the way up and have it cover the complete frame. Thanks for the explanation. I wasn't aware the behaviour was intentional, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message