diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-17 22:22:44 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-17 22:22:44 +0000 |
commit | bfcb84cca682f3521e633dad16ecff88bb9884f3 (patch) | |
tree | 9abc073a48e738b5281df50f858929ee4880b480 /pkg/sentry/platform/kvm | |
parent | 9d3994c2ceac37b8308d395b820dee24b97dd483 (diff) | |
parent | c1e1e7a9ae0e3eb596f235b7b52074caf75118ec (diff) |
Merge release-20201109.0-58-gc1e1e7a9a (automated)
Diffstat (limited to 'pkg/sentry/platform/kvm')
-rw-r--r-- | pkg/sentry/platform/kvm/machine_arm64_unsafe.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/sentry/platform/kvm/machine_arm64_unsafe.go b/pkg/sentry/platform/kvm/machine_arm64_unsafe.go index fd92c3873..3f5be276b 100644 --- a/pkg/sentry/platform/kvm/machine_arm64_unsafe.go +++ b/pkg/sentry/platform/kvm/machine_arm64_unsafe.go @@ -263,13 +263,6 @@ func (c *vCPU) SwitchToUser(switchOpts ring0.SwitchOpts, info *arch.SignalInfo) return usermem.NoAccess, platform.ErrContextInterrupt case ring0.El0SyncUndef: return c.fault(int32(syscall.SIGILL), info) - case ring0.El1SyncUndef: - *info = arch.SignalInfo{ - Signo: int32(syscall.SIGILL), - Code: 1, // ILL_ILLOPC (illegal opcode). - } - info.SetAddr(switchOpts.Registers.Pc) // Include address. - return usermem.AccessType{}, platform.ErrContextSignal default: panic(fmt.Sprintf("unexpected vector: 0x%x", vector)) } |