freebsd-src/sys/riscv
Konstantin Belousov 6f1fe3305a amd64: Add md process flags and first P_MD_PTI flag.
PTI mode for the process pmap on exec is activated iff P_MD_PTI is set.

On exec, the existing vmspace can be reused only if pti mode of the
pmap matches the P_MD_PTI flag of the process.  Add MD
cpu_exec_vmspace_reuse() callback for exec_new_vmspace() which can
vetoed reuse of the existing vmspace.

MFC note: md_flags change struct proc KBI.

Reviewed by:	jhb, markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D19514
2019-03-16 11:31:01 +00:00
..
conf Configure hz=100 in the QEMU target. 2019-01-03 16:11:21 +00:00
include Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
riscv amd64: Add md process flags and first P_MD_PTI flag. 2019-03-16 11:31:01 +00:00