Re: [PATCH v2 2/7] linux-user/nios2: Fixes for signal frame setup

2022-01-05 Thread Laurent Vivier
Le 21/12/2021 à 03:50, Richard Henderson a écrit : Do not confuse host and guest addresses. Lock and unlock the target_rt_sigframe structure in setup_rt_sigframe. Since rt_setup_ucontext always returns 0, drop the return value entirely. This eliminates the only write to the err variable in set

[PATCH v2 2/7] linux-user/nios2: Fixes for signal frame setup

2021-12-20 Thread Richard Henderson
Do not confuse host and guest addresses. Lock and unlock the target_rt_sigframe structure in setup_rt_sigframe. Since rt_setup_ucontext always returns 0, drop the return value entirely. This eliminates the only write to the err variable in setup_rt_sigframe. Always copy the siginfo structure.