linux-mips
[Top] [All Lists]

Re: siginfo structure in 64-bit kernel

To: Carsten Langgaard <carstenl@mips.com>
Subject: Re: siginfo structure in 64-bit kernel
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Wed, 7 Aug 2002 13:49:40 +0200 (MET DST)
Cc: Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
In-reply-to: <3D50EE40.A4B44B4B@mips.com>
Organization: Technical University of Gdansk
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
On Wed, 7 Aug 2002, Carsten Langgaard wrote:

> The siginfo structure is containing longs, which isn't consistent
> between o32 and n64.
> So we need a routine to convert siginfo from 64-bit to 32-bit, when we
> are running a 64-bit kernel on o32 userland.

 Yep, I've noticed we don't get it quite right recently, too.

> Please take a look at the patch below.

 It looks good in principle, but please use signed types for addresses.
I'll check the patch at run-time later.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>