linux/tools/testing/selftests/powerpc/security
Michael Ellerman a8a54a65ca selftests/powerpc: Detect taint change in mitigation patching test
Currently the mitigation patching test errors out if the kernel is
tainted prior to the test running.

That causes the test to fail unnecessarily if some other test has caused
the kernel to be tainted, or if a proprietary or force module is loaded
for example.

Instead just warn if the kernel is tainted to begin with, and only
report a change in the taint state as an error in the test.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241106130453.1741013-5-mpe@ellerman.id.au
2024-11-07 22:36:31 +11:00
..
.gitignore selftests/powerpc: Add missing files to .gitignores 2022-06-29 19:37:04 +10:00
Makefile selftests/powerpc: make sub-folders buildable on their own 2024-04-29 23:54:42 +10:00
branch_loops.S selftests/powerpc: Add a test of spectre_v2 mitigations 2019-10-30 15:43:57 +11:00
entry_flush.c selftests/powerpc: Add read/write debugfs file, int 2023-02-09 23:56:45 +11:00
flush_utils.c selftests/powerpc: Use mfspr/mtspr macros 2022-12-02 18:04:27 +11:00
flush_utils.h selftests/powerpc: Add uaccess flush test 2021-04-23 01:38:03 +10:00
mitigation-patching.sh selftests/powerpc: Detect taint change in mitigation patching test 2024-11-07 22:36:31 +11:00
rfi_flush.c selftests/powerpc: Add read/write debugfs file, int 2023-02-09 23:56:45 +11:00
settings selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
spectre_v2.c selftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch" 2022-05-22 15:59:54 +10:00
uaccess_flush.c selftests/powerpc: Add read/write debugfs file, int 2023-02-09 23:56:45 +11:00