On 09.12.2015 23:03, Laurent Vivier wrote:
>
> Le 09/12/2015 21:54, Michael Karcher a écrit :
>> do_rt_sigreturn forgets to initialize the signal mask variable before
>> trying to use it to restore the mask, so the signal mask is undefined
>> after do_rt_sigreturn. This
target_to_host_sigset_internal is required.
do_sigreturn is correct in using target_to_host_sigset_internal, because
get_user already did the endianness conversion.
Signed-off-by: Michael Karcher
---
linux-user/signal.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/linux-user
Changelog:
v2: Avoid unneeded copy, use correct endianness.
Michael Karcher (1):
Fix do_rt_sigreturn on m68k linux userspace emulation
linux-user/signal.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--
2.1.4
Laurent's qemu-m68k git tree, but according
to visual inspection, it should also apply to HEAD.
Michael Karcher (1):
Fix do_rt_sigreturn on m68k linux userspace emulation
linux-user/signal.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
--
2.1.4
do_rt_sigreturn forgets to initialize the signal mask variable before
trying to use it to restore the mask, so the signal mask is undefined
after do_rt_sigreturn. This bug has been in all the time since
7181155d when do_rt_sigreturn was implemented for m68k.
---
linux-user/signal.c | 5 -
1 fi
do_rt_sigreturn forgets to initialize the signal mask variable before
trying to use it to restore the mask, so the signal mask is undefined
after do_rt_sigreturn. This bug has been in all the time since
7181155d when do_rt_sigreturn was implemented for m68k.
Signed-off-by: Michael Karcher
Am Dienstag, den 25.10.2011, 10:15 +0200 schrieb Avi Kivity:
> On 10/24/2011 08:21 PM, Michael Karcher wrote:
> > If you know the 8086 architecture by heart, and also know the qemu code,
> > you could get the idea that there might be an emulation bug causing the
> > premat
ow this problem can be
fixed or worked around.
Regards,
Michael Karcher
signature.asc
Description: This is a digitally signed message part