mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-04-03 13:47:08 +02:00
chore: add proper header to all src/vulns/* files
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# vim: set ts=4 sw=4 sts=4 et:
|
||||
###################
|
||||
# SRBDS SECTION
|
||||
###############################
|
||||
# CVE-2020-0543, SRBDS, CROSSTalk, Special Register Buffer Data Sampling
|
||||
|
||||
# CVE-2020-0543 SRBDS (special register buffer data sampling) - entry point
|
||||
check_CVE_2020_0543() {
|
||||
check_cve 'CVE-2020-0543'
|
||||
}
|
||||
|
||||
# CVE-2020-0543 SRBDS (special register buffer data sampling) - Linux mitigation check
|
||||
check_CVE_2020_0543_linux() {
|
||||
local status sys_interface_available msg kernel_srbds kernel_srbds_err
|
||||
status=UNK
|
||||
@@ -104,7 +102,6 @@ check_CVE_2020_0543_linux() {
|
||||
fi
|
||||
}
|
||||
|
||||
# CVE-2020-0543 SRBDS (special register buffer data sampling) - BSD mitigation check
|
||||
# FreeBSD uses the name "rngds" (Random Number Generator Data Sampling) for SRBDS
|
||||
check_CVE_2020_0543_bsd() {
|
||||
local rngds_enable rngds_state kernel_rngds
|
||||
|
||||
Reference in New Issue
Block a user