4 ms·
This sounds like a really cool feature, but given that I'm not an expert I'm not sure what the practical use-cases for this are. Is it similar to what you can d
by ColonelPhantom 4y ago
This sounds like a really cool feature, but given that I'm not an expert I'm not sure what the practical use-cases for this are. Is it similar to what you can do with something like eBPF in Linux?
- rahen 4y agoYes, although their scopes are different. For Linux it started as a simple virtual machine for programmable firewall rules. For NetBSD, it's more of a playground to try ideas in kernel space, while rump kernels allow to try kernel ideas in user space.
- cmrdporcupine 4y agoWhat are the limitations in terms of what the interpreter has access to? Can it interact with devices, physical memory, etc.?
- rahen 4y agoIt has its own memory namespace, so it won't be allowed to access the kernel memory. It has however full access to the devices. The /dev/lua device, which allows interaction with the kernel interpreter: https://man.netbsd.org/lua.4 https://man.netbsd.org/lua.4 Presentation: https://www.netbsd.org/gallery/presentations/mbalmer/fosdem2012/kernel_mode_lua.pdf https://www.netbsd.org/gallery/presentations/mbalmer/fosdem2...