qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH for-6.2 4/7] linux-user: Zero out target_siginfo_t in force_sig()
Date: Sun, 15 Aug 2021 10:00:29 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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<peter.maydell@linaro.org>
---
  linux-user/signal.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]