From: Alexander Popov Date: Sat, 16 Nov 2024 15:03:22 +0000 (+0300) Subject: Test the autodetection X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=dafbe07cf282292a9169dcb88a7459e5a503ad35;p=kconfig-hardened-check.git Test the autodetection --- 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