Moving livepatching module building to kselftests
summary
Proposal moves livepatch test modules from lib/livepatch into tools/testing/selftests/livepatch and adds a kselftest target that compiles modules on the test host, drops CONFIG_TEST_LIVEPATCH, and uses insmod instead of modprobe. The V3 patch implements the first of ~15 QA tests (verifies livepatch transitions of the getpid syscall) and runs locally, but faces practical issues: gen_tar packs binaries only, requires kernel headers/VERMAGIC match, and building on target needs a toolchain and handling module signing.
AI-written summary · about
chapters (8)
- 0:00Introduction and agenda
- 1:51What are kselftests
- 5:29Current livepatch testing setup
- 8:20kselftests module restrictions
- 10:53Proposal to move tests
- 14:07Challenges with module building
- 22:46Discussion on module location
- 28:29Future work and Q&A
related talks
19mChecking your work: Linux kernel testing and CI
19mUpstream kernel CI using patchew and TDC
34mLinux Kernel Testing: Providing Better Results to the Upstream Community
26mImprove Upstream Code Quality by Bringing Testing to Patch Level
16mKselftests augmented: running kernelspace tests from userspace
23mExperiences and lessons we learned using kselftest and pote
30mKernel Testing with KUnit: Bridging the Gap
45mAdding Testable Code Specifications in the Linux Ke...
