diff options
author | David Edmondson <david.edmondson@oracle.com> | 2021-09-20 11:37:37 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-25 06:48:25 -0400 |
commit | 0d7d84498fb43c42fa730c3a46b3048dc62165a5 (patch) | |
tree | e20e0e5b7893a4e7c592e0ee28408acc94467b88 /lib/test_fortify/write_overflow-strcpy.c | |
parent | e615e355894e619785af81479ad6f5a05a8a2e3f (diff) |
KVM: x86: SGX must obey the KVM_INTERNAL_ERROR_EMULATION protocol
When passing the failing address and size out to user space, SGX must
ensure not to trample on the earlier fields of the emulation_failure
sub-union of struct kvm_run.
Signed-off-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210920103737.2696756-5-david.edmondson@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions