diff options
author | Scott Long <scottl@FreeBSD.org> | 2019-11-15 23:27:17 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2019-11-15 23:27:17 +0000 |
commit | de890ea4650de4b9f1784fab7e6e8bcd1186664d (patch) | |
tree | a760a3a74e7acb639e08b4285eae1584fdd2cf4c /sys/sys/sysctl.h | |
parent | d9a61c960c4caa46c3e145c0ed5f513af3103d3b (diff) | |
download | src-de890ea4650de4b9f1784fab7e6e8bcd1186664d.tar.gz src-de890ea4650de4b9f1784fab7e6e8bcd1186664d.zip |
Create a new sysctl subtree, machdep.mitigations. Its purpose is to organize
knobs and indicators for code that mitigates functional and security issues
in the architecture/platform. Controls for regular operational policy should
still go into places security, hw, kern, etc.
The machdep root node is inherently architecture dependent, but mitigations
tend to be architecture dependent as well. Some cases like Spectre do cross
architectural boundaries, but the mitigation code for them tends to be
architecture dependent anyways, and multiple architectures won't be active
in the same image of the kernel.
Many mitigation knobs already exist in the system, and they will be moved
with compat naming in the future. Going forward, mitigations should collect
in machdep.mitigations.
Reviewed by: imp, brooks, rwatson, emaste, jhb
Sponsored by: Intel
Notes
Notes:
svn path=/head/; revision=354756
Diffstat (limited to 'sys/sys/sysctl.h')
-rw-r--r-- | sys/sys/sysctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index c01ca3605bd0..7e3e983a7ebf 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1094,6 +1094,7 @@ SYSCTL_DECL(_hw_bus); SYSCTL_DECL(_hw_bus_devices); SYSCTL_DECL(_hw_bus_info); SYSCTL_DECL(_machdep); +SYSCTL_DECL(_machdep_mitigations); SYSCTL_DECL(_user); SYSCTL_DECL(_compat); SYSCTL_DECL(_regression); |