[PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Andreas Schwab
* sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place. --- sigreturn.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sigreturn.c b/sigreturn.c index 648bd0a..a96257f 100644 --- a/sigreturn.c +++ b/sigreturn.c @@ -128,8

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 03:10:34PM +0100, Andreas Schwab wrote: * sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place. --- sigreturn.c | 14 +- 1 file changed, 13

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 11:13:22AM +0100, Andreas Schwab wrote: Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 03:10:34PM +0100, Andreas Schwab wrote: * sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place.

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-11 Thread Dmitry V. Levin
On Wed, Mar 11, 2015 at 03:10:34PM +0100, Andreas Schwab wrote: * sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place. --- sigreturn.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sigreturn.c b/sigreturn.c

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-11 Thread Mike Frysinger
On 11 Mar 2015 15:10, Andreas Schwab wrote: + addr -= sizeof (mask) - sizeof(long); + if (umoven(tcp, addr, sizeof (mask) - sizeof(long), (char *) mask[1]) 0) should be consistent with sizeof (foo) vs sizeof(foo) (should use the latter) -mike signature.asc