Re: [RFC PATCH 6/7] linux-user: Handle SIGSEGV/SIGBUS in host_to_target_siginfo_noswap

2021-09-15 Thread Richard Henderson
On 9/15/21 9:23 AM, Warner Losh wrote: On Mon, Sep 13, 2021 at 4:05 PM Richard Henderson > wrote: Remap the faulting address from the host address space into the guest address space. Signed-off-by: Richard Henderson

Re: [RFC PATCH 6/7] linux-user: Handle SIGSEGV/SIGBUS in host_to_target_siginfo_noswap

2021-09-15 Thread Warner Losh
On Mon, Sep 13, 2021 at 4:05 PM Richard Henderson < richard.hender...@linaro.org> wrote: > Remap the faulting address from the host address space into > the guest address space. > > Signed-off-by: Richard Henderson > --- > linux-user/signal.c | 9 + > 1 file changed, 9 insertions(+) >

[RFC PATCH 6/7] linux-user: Handle SIGSEGV/SIGBUS in host_to_target_siginfo_noswap

2021-09-13 Thread Richard Henderson
Remap the faulting address from the host address space into the guest address space. Signed-off-by: Richard Henderson --- linux-user/signal.c | 9 + 1 file changed, 9 insertions(+) diff --git a/linux-user/signal.c b/linux-user/signal.c index a8faea6f09..73c0f9066b 100644 ---