opnsense-src/sys/amd64
Konstantin Belousov c4f056e8ea amd64: only set PCB_FULL_IRET pcb flag when #gp or similar exception comes
from usermode.

If CPU supports RDFSBASE, the flag also means that userspace fsbase
and gsbase are already written into pcb, which might be not true when
we handle #gp from kernel.

The offender is rdmsr_safe(), and the visible result is corrupted
userspace TLS base.

Reported by:	pstef
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2019-11-13 22:39:46 +00:00
..
acpica Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
amd64 amd64: only set PCB_FULL_IRET pcb flag when #gp or similar exception comes 2019-11-13 22:39:46 +00:00
cloudabi32 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
cloudabi64 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
conf There's nothing architecture specific in "options STATS"; move it from 2019-10-30 10:16:28 +00:00
ia32 Don't pass error from syscallenter() to syscallret(). 2019-07-15 21:25:16 +00:00
include Workaround for Intel SKL002/SKL012S errata. 2019-11-12 18:01:33 +00:00
linux linux: futex_mtx should follow futex_list 2019-10-18 12:25:33 +00:00
linux32 linux: futex_mtx should follow futex_list 2019-10-18 12:25:33 +00:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
vmm amd64: move GDT into PCPU area. 2019-11-12 15:51:47 +00:00
Makefile Bring the tags and links entries for amd64 up to date. 2015-10-27 22:59:24 +00:00