Re: [PATCH for-6.2 4/7] linux-user: Zero out target_siginfo_t in force_sig()

2021-08-15 Thread Richard Henderson
On 8/13/21 3:18 AM, Peter Maydell wrote: The target_siginfo_t we populate in force_sig() will eventually get copied onto the target's stack. Zero it out so that any extra padding in the sifields union is consistently zero when the guest sees it. Signed-off-by: Peter Maydell ---

[PATCH for-6.2 4/7] linux-user: Zero out target_siginfo_t in force_sig()

2021-08-13 Thread Peter Maydell
The target_siginfo_t we populate in force_sig() will eventually get copied onto the target's stack. Zero it out so that any extra padding in the sifields union is consistently zero when the guest sees it. Signed-off-by: Peter Maydell --- linux-user/signal.c | 2 +- 1 file changed, 1