Re: [PATCH v2 4/7] linux-user: Honor TARGET_ARCH_HAS_SA_RESTORER in do_syscall

2021-04-23 Thread Alex Bennée
Richard Henderson writes: > Do not access a field that may not be present. This will > become an issue when sharing more code in the next patch. > > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée -- Alex Bennée

Re: [PATCH v2 4/7] linux-user: Honor TARGET_ARCH_HAS_SA_RESTORER in do_syscall

2021-04-23 Thread Philippe Mathieu-Daudé
On 4/23/21 1:02 AM, Richard Henderson wrote: > Do not access a field that may not be present. This will > become an issue when sharing more code in the next patch. > > Signed-off-by: Richard Henderson > --- > linux-user/syscall.c | 4 > 1 file changed, 4 insertions(+) Reviewed-by: Philipp

[PATCH v2 4/7] linux-user: Honor TARGET_ARCH_HAS_SA_RESTORER in do_syscall

2021-04-22 Thread Richard Henderson
Do not access a field that may not be present. This will become an issue when sharing more code in the next patch. Signed-off-by: Richard Henderson --- linux-user/syscall.c | 4 1 file changed, 4 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 36169a0ded..89d6