aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/procctl.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-03-16 11:44:33 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-03-16 11:44:33 +0000
commitfd8d844f7622a08d362994fde083170ec29088ae (patch)
treeddd401c39ecbacd9a9069413d165c0ba50e2afed /sys/sparc64/include/procctl.h
parent6f1fe3305a2be0a1395569b2ea5f56a93e491ae0 (diff)
amd64 KPTI: add control from procctl(2).
Add the infrastructure to allow MD procctl(2) commands, and use it to introduce amd64 PTI control and reporting. PTI mode cannot be modified for existing pmap, the knob controls PTI of the new vmspace created on exec. Requested by: jhb Reviewed by: jhb, markj (previous version) Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D19514
Notes
Notes: svn path=/head/; revision=345228
Diffstat (limited to 'sys/sparc64/include/procctl.h')
-rw-r--r--sys/sparc64/include/procctl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/procctl.h b/sys/sparc64/include/procctl.h
new file mode 100644
index 000000000000..5221cfcd7be1
--- /dev/null
+++ b/sys/sparc64/include/procctl.h
@@ -0,0 +1,4 @@
+/*-
+ * This file is in the public domain.
+ */
+/* $FreeBSD$ */