From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvxaO-0007Dw-AU for qemu-devel@nongnu.org; Mon, 30 Jul 2012 17:33:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvxaN-0001D5-7S for qemu-devel@nongnu.org; Mon, 30 Jul 2012 17:33:08 -0400 Received: from cantor2.suse.de ([195.135.220.15]:44580 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvxaM-0001Cy-TN for qemu-devel@nongnu.org; Mon, 30 Jul 2012 17:33:07 -0400 Message-ID: <5016FD8E.8070201@suse.de> Date: Mon, 30 Jul 2012 23:33:02 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] Use siginfo_t instead of struct siginfo. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Andreas Jaeger , Riku Voipio , qemu-devel qemu-devel , Michael Roth Am 30.07.2012 23:30, schrieb Alexander Graf: >=20 > On 30.07.2012, at 09:21, Andreas Jaeger wrote: >=20 >> >> glibc 2.16 does not export the undocumented struct siginfo anymore. >> qemu uses already in most cases siginfo_t, this patch fixes the last >> three occurences. >> >> Signed-off-by: Andreas Jaeger >=20 > That email address doesn't look valid :). >=20 > So I take it that the change is backwards compatible? Riku, Mike, Andre= as, could we queue this for the respective stable branches when it gets i= t please? Wasn't there already another patch doing the same thing a few weeks ago? Andreas >=20 >=20 > Alex >=20 >> --- >> linux-user/signal.c | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/linux-user/signal.c b/linux-user/signal.c >> index 97f30d9..a859a45 100644 >> --- a/linux-user/signal.c >> +++ b/linux-user/signal.c >> @@ -3255,7 +3255,7 @@ struct target_signal_frame { >> }; >> >> struct rt_signal_frame { >> - struct siginfo info; >> + siginfo_t info; >> struct ucontext uc; >> uint32_t tramp[2]; >> }; >> @@ -3474,9 +3474,9 @@ struct target_signal_frame { >> }; >> >> struct rt_signal_frame { >> - struct siginfo *pinfo; >> + siginfo_t *pinfo; >> void *puc; >> - struct siginfo info; >> + siginfo_t info; >> struct ucontext uc; >> uint8_t retcode[8]; /* Trampoline code. */ >> }; >> --=20 >> 1.7.10.4 >> >> >> --=20 >> Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi >> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany >> GF: Jeff Hawn,Jennifer Guild,Felix Imend=F6rffer,HRB16746 (AG N=FCrn= berg) >> GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A= 126 >> >=20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg