From fd8d844f7622a08d362994fde083170ec29088ae Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sat, 16 Mar 2019 11:44:33 +0000 Subject: 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 --- sys/sparc64/include/procctl.h | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sys/sparc64/include/procctl.h (limited to 'sys/sparc64/include/procctl.h') 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$ */ -- cgit v1.2.3