]> xenbits.xensource.com Git - people/royger/freebsd.git/commit
amd64: Relax the assertion added in commit 4a59cbc12
authorMark Johnston <markj@FreeBSD.org>
Tue, 1 Jun 2021 23:38:09 +0000 (19:38 -0400)
committerMark Johnston <markj@FreeBSD.org>
Tue, 1 Jun 2021 23:38:09 +0000 (19:38 -0400)
commit6cda62755612d706f30a99f70ff13ffa0f3f2422
tree194c79bafb5922c17a733dd466372c2db3dd05b0
parent60a38abb8982e11ee71559057dd7128bd097043e
amd64: Relax the assertion added in commit 4a59cbc12

We only need to ensure that interrupts are disabled when handling a
fault from iret.  Otherwise it's possible to trigger the assertion
legitimately, e.g., by copying in from an invalid address.

Fixes: 4a59cbc12
Reported by: pho
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30594
sys/amd64/amd64/trap.c