Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ginsbach <brian.ginsbach@gmail.com>2020-04-14 19:08:49 +0300
committerBrian Ginsbach <brian.ginsbach@gmail.com>2021-01-01 06:02:04 +0300
commit7292f0f179d1fce59c9412349161f71a74e53c88 (patch)
tree85b926b3b0073558b4b6f2a7255ee00f3528f6ef /include/tests_kernel
parent89403f1494ded841c5e0ddbf2af028cb50b37f28 (diff)
KRNL-5677 add NetBSD
It is possible that NetBSD has the `proc` filesystem mounted. When `/proc` is mounted there will be a `/proc/cpuinfo`. Handle the simple case first (`proc` filesystem mounted). There are multiple other means to determine PAE/NX without `/proc/cpuinfo`.
Diffstat (limited to 'include/tests_kernel')
-rw-r--r--include/tests_kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_kernel b/include/tests_kernel
index 119b276e..75f7bffc 100644
--- a/include/tests_kernel
+++ b/include/tests_kernel
@@ -103,7 +103,7 @@
# Description : Check CPU options and support (PAE, No eXecute, eXecute Disable)
# More info : pae and nx bit are both visible on AMD and Intel CPU's if supported
- Register --test-no KRNL-5677 --platform x86_64 --os Linux --weight L --network NO --category security --description "Check CPU options and support"
+ Register --test-no KRNL-5677 --platform "x86_64 amd64" --os "Linux NetBSD" --weight L --network NO --category security --description "Check CPU options and support"
if [ ${SKIPTEST} -eq 0 ]; then
Display --indent 2 --text "- Checking CPU support (NX/PAE)"
LogText "Test: Checking /proc/cpuinfo"