|
|
Log in / Subscribe / Register

Calling kernel functions from BPF

Calling kernel functions from BPF

Posted May 14, 2021 14:32 UTC (Fri) by karim (subscriber, #114)
Parent article: Calling kernel functions from BPF

Might be interesting to have a "disable BPF verifier" option and let all kernel functions to be callable. This could then be used to spawn VMs for testing specific kernel subsystems using eBPF as a test engine without requiring any code additions to the kernel nor any kernel rebuilding. Just build one kernel image and fire away at it with eBPF. I'd totally expect those VMs to continuously crash, but could be useful for generalized kernel unit testing.

Don't bother taking this too seriously. Just a quick idea that came to mind as I read this writeup.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds