Re: [PATCH 2/3] linux-user/i386: Split out gen_signal

2020-01-15 Thread Alex Bennée
Richard Henderson writes: > This is a bit tidier than open-coding the 5 lines necessary > to initialize the target_siginfo_t. In addition, this zeros > the remaining bytes of the target_siginfo_t, rather than > passing in garbage. > > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée

Re: [PATCH 2/3] linux-user/i386: Split out gen_signal

2020-01-14 Thread Philippe Mathieu-Daudé
On 1/14/20 10:09 PM, Richard Henderson wrote: This is a bit tidier than open-coding the 5 lines necessary to initialize the target_siginfo_t. In addition, this zeros the remaining bytes of the target_siginfo_t, rather than passing in garbage. Signed-off-by: Richard Henderson --- linux-user/i

[PATCH 2/3] linux-user/i386: Split out gen_signal

2020-01-14 Thread Richard Henderson
This is a bit tidier than open-coding the 5 lines necessary to initialize the target_siginfo_t. In addition, this zeros the remaining bytes of the target_siginfo_t, rather than passing in garbage. Signed-off-by: Richard Henderson --- linux-user/i386/cpu_loop.c | 93 ++---