Re:Testing the Lua kernel interpreter in NetBSD (2021)
by cmrdporcupine on Sunday February 12, 2023 @09:50PM
(#34769606)
What are the limitations in terms of what the interpreter has access to? Can it interact with devices, physical memory, etc.?
[ Parent
| on HN ]
Re:Testing the Lua kernel interpreter in NetBSD (2021)
by rahen on Monday February 13, 2023 @04:56AM
(#34771805)
It 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
Presentation: https://www.netbsd.org/gallery/presentations/mbalmer/fosdem2...