Re: [PATCH v2 04/30] linux-user: Zero out target_siginfo_t in force_sig()

2021-08-24 Thread Philippe Mathieu-Daudé
On 8/22/21 5:55 AM, Richard Henderson wrote: > From: 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

[PATCH v2 04/30] linux-user: Zero out target_siginfo_t in force_sig()

2021-08-21 Thread Richard Henderson
From: 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 Message-Id: <20210813131809.28655-5-peter