On 3/13/19 5:40 AM, Paolo Bonzini wrote:
> Because safe-syscall.S does not go through the C compiler, the
> .note.gnu.property note has to be added manually.  Safe syscalls do not
> involve any indirect branch or stack unwinding, so they are trivially
> safe for IBT or shadow stacks.
> 
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  linux-user/host/i386/safe-syscall.inc.S   | 19 +++++++++++++++++++
>  linux-user/host/x86_64/safe-syscall.inc.S | 19 +++++++++++++++++++
>  2 files changed, 38 insertions(+)

I suppose it's not worth trying to share these 19 lines...

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


r~


Reply via email to