diff options
author | andrew <andrew@FreeBSD.org> | 2016-03-22 08:36:25 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-03-22 08:36:25 +0000 |
commit | acaab8fb107cfe1d09dafbf09733594df2459be1 (patch) | |
tree | 1952124e6562cad1e24909badb541ced601509d4 /lib | |
parent | aff96eae8427a86b332532c7ef8be9620d754d5f (diff) | |
download | FreeBSD-src-acaab8fb107cfe1d09dafbf09733594df2459be1.zip FreeBSD-src-acaab8fb107cfe1d09dafbf09733594df2459be1.tar.gz |
Use the saved program state register to detect when an exception frame is
from userpsace. Previously we could have triggered a panic by trying to
jump to a kernel address from userland as the trap handling code thought we
received an ast in kernel mode.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions