[PATCH 0/3] bpf: Test defence against SSB exploitation

From: Ben Hutchings
Date: Fri Nov 23 2018 - 13:34:08 EST


This series adds log messages for all patching done by the verifier,
and a test case to verify that the patch to defend against SSB
exploitation is applied where needed.

Ben.

Ben Hutchings (3):
bpf/verifier: Log instruction patching when verbose logging is enabled
selftests/bpf: Add the ability to test for a log message on success
selftests/bpf: Add test case for defence against SSB exploitation

kernel/bpf/verifier.c | 13 +++++++++++++
tools/testing/selftests/bpf/test_verifier.c | 26 +++++++++++++++++++++++++-
2 files changed, 38 insertions(+), 1 deletion(-)

--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom