Re: [Qemu-devel] [PATCH v4 1/4] linux-user/aarch64: Reset btype for syscalls and signals

2019-04-29 Thread Peter Maydell
On Sat, 30 Mar 2019 at 00:59, Richard Henderson wrote: > > The value of btype for syscalls is CONSTRAINED UNPREDICTABLE, > so we need to make sure that the value is 0 before clone, > fork, or syscall return. > > The value of btype for signals is defined, but it does not make > sense for a SIGILL h

[Qemu-devel] [PATCH v4 1/4] linux-user/aarch64: Reset btype for syscalls and signals

2019-03-29 Thread Richard Henderson
The value of btype for syscalls is CONSTRAINED UNPREDICTABLE, so we need to make sure that the value is 0 before clone, fork, or syscall return. The value of btype for signals is defined, but it does not make sense for a SIGILL handler to enter with the btype set as for the indirect branch that ca