|
From: | Alex Bennée |
Subject: | Re: [PATCH v5 02/17] linux-user/signal.c: Create a common rewind_if_in_safe_syscall |
Date: | Wed, 17 Nov 2021 16:37:43 +0000 |
User-agent: | mu4e 1.7.5; emacs 28.0.60 |
Richard Henderson <richard.henderson@linaro.org> writes: > From: Warner Losh <imp@bsdimp.com> > > All instances of rewind_if_in_safe_syscall are the same, differing only > in how the instruction point is fetched from the ucontext and the size > of the registers. Use host_signal_pc and new host_signal_set_pc > interfaces to fetch the pointer to the PC and adjust if needed. Delete > all the old copies of rewind_if_in_safe_syscall. > > Signed-off-by: Warner Losh <imp@bsdimp.com> > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > Message-Id: <20211113045603.60391-3-imp@bsdimp.com> > [rth: include safe-syscall.h, simplify ifdefs] > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |