br 2bf756aae9 Use SPP (Supervisor Previous Privilege) bit in the sstatus
register to determine if trap is from userspace.

Otherwise if we jump to kernel address from userspace, then
TRAPF_USERMODE failed to detect usermode and then do_ast
triggers a panic "ast in kernel mode".

Reviewed by:	markj@
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D16469
2018-07-27 16:13:06 +00:00
..
2018-07-10 14:04:52 +00:00
2018-07-27 13:11:05 +00:00
2018-07-27 10:40:48 +00:00
2018-06-14 07:12:10 +00:00
2018-07-25 19:31:32 +00:00
2018-07-25 22:46:36 +00:00
2018-07-26 17:52:57 +00:00
2018-07-15 00:31:17 +00:00
2018-03-24 21:30:24 +00:00
2018-07-19 10:14:52 +00:00