From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvYyA-0000Mb-MT for qemu-devel@nongnu.org; Thu, 09 Feb 2012 13:43:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvYy2-0005Fo-Na for qemu-devel@nongnu.org; Thu, 09 Feb 2012 13:43:46 -0500 Message-ID: <4F3413D9.7040204@suse.de> Date: Thu, 09 Feb 2012 19:43:37 +0100 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] [TRIVIAL] sas_ss_flags bug for powerpc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Barcelo Cc: qemu-trivial@nongnu.org, Riku Voipio , qemu-devel Am 09.02.2012 19:30, schrieb Alex Barcelo: > Signed-off-by: Alex Barcelo This patch needs a better description than "bug", and you forgot to cc the linux-user maintainer. The patch should describe what it touches (linux-user), what it does, what for and make clear why that is correct. Is there a particular test case that's broken without the patch? I can't speak for Stefan, but to me it is totally unclear from looking at the patch what sas_ss_flags() does here so this is likely not really a trivial one. Andreas > --- > linux-user/signal.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/linux-user/signal.c b/linux-user/signal.c > index 79a39dc..26e0530 100644 > --- a/linux-user/signal.c > +++ b/linux-user/signal.c > @@ -4115,7 +4115,7 @@ static target_ulong get_sigframe(struct > target_sigaction *ka, > oldsp =3D env->gpr[1]; >=20 > if ((ka->sa_flags & TARGET_SA_ONSTACK) && > - (sas_ss_flags(oldsp))) { > + (sas_ss_flags(oldsp)) =3D=3D 0) { > oldsp =3D (target_sigaltstack_used.ss_sp > + target_sigaltstack_used.ss_size); > } --=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