qemu/linux-user/i386
Richard Henderson 701890bdd0 target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor}
We have already validated the memory region in the course of
validating the signal frame.  No need to do it again within
the helper function.

In addition, return failure when the header contains invalid
xstate_bv.  The kernel handles this via exception handling
within XSTATE_OP within xrstor_from_user_sigframe.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2024-05-26 15:49:58 -07:00
..
cpu_loop.c
Makefile.vdso
meson.build
signal.c target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor} 2024-05-26 15:49:58 -07:00
sockbits.h
syscall_32.tbl
syscall_nr.h
syscallhdr.sh
target_cpu.h
target_elf.h
target_errno_defs.h
target_fcntl.h
target_mman.h
target_prctl.h
target_proc.h
target_resource.h
target_signal.h
target_structs.h
target_syscall.h
termbits.h
vdso-asmoffset.h
vdso.ld
vdso.S
vdso.so