From dafbe07cf282292a9169dcb88a7459e5a503ad35 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 16 Nov 2024 18:03:22 +0300 Subject: [PATCH] Test the autodetection --- .github/workflows/functional_test.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/functional_test.sh b/.github/workflows/functional_test.sh index 906e508..74d0770 100644 --- a/.github/workflows/functional_test.sh +++ b/.github/workflows/functional_test.sh @@ -41,6 +41,13 @@ coverage run -a --branch bin/kernel-hardening-checker -g X86_32 coverage run -a --branch bin/kernel-hardening-checker -g ARM64 coverage run -a --branch bin/kernel-hardening-checker -g ARM +echo ">>>>> try autodetection <<<<<" +coverage run -a --branch bin/kernel-hardening-checker -a +coverage run -a --branch bin/kernel-hardening-checker -a -m verbose +coverage run -a --branch bin/kernel-hardening-checker -a -m json +coverage run -a --branch bin/kernel-hardening-checker -a -m show_ok +coverage run -a --branch bin/kernel-hardening-checker -a -m show_fail + echo ">>>>> check the example kconfig files, cmdline, and sysctl <<<<<" cat /proc/cmdline echo "l1tf=off mds=full mitigations=off randomize_kstack_offset=on retbleed=0 iommu.passthrough=0" > ./cmdline_example -- 2.31.1