diff options
author | lubinszARM <34124929+lubinszARM@users.noreply.github.com> | 2020-11-03 09:32:22 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-03 09:34:39 -0800 |
commit | 0e96f8065e7dc24aa5bc0a8cb14380c58ed6af13 (patch) | |
tree | f8beca05c9274fe90d114d181a85e5b4c6ac1020 /pkg/sentry/platform/ring0/x86.go | |
parent | 1a3f417f4a329339d89fcf89262bd08c18c1f27e (diff) |
arm64 kvm: inject sError to trigger sigbus
Use an sErr injection to trigger sigbus when we receive EFAULT from the
run ioctl.
After applying this patch, mmap_test_runsc_kvm will be passed on
Arm64.
Signed-off-by: Bin Lu <bin.lu@arm.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gvisor/pull/4542 from lubinszARM:pr_kvm_mmap_1 f81bd42466d1d60a581e5fb34de18b78878c68c1
PiperOrigin-RevId: 340461239
Diffstat (limited to 'pkg/sentry/platform/ring0/x86.go')
0 files changed, 0 insertions, 0 deletions