Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2002 22:00:26 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        arch@FreeBSD.ORG
Subject:   Re: i386: Bug in prototype for rgs()
Message-ID:  <20021101060026.GA2372@dhcp01.pn.xcllnt.net>
In-Reply-To: <20021101155451.G13913-100000@gamplex.bde.org>
References:  <20021101015515.GA1707@dhcp01.pn.xcllnt.net> <20021101155451.G13913-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021101060026.GA2372>