Post 9u8IsP2P8EOALjHbsm by blastmaster@chaos.social
(DIR) More posts by blastmaster@chaos.social
(DIR) Post #9u6pLeaZfMbawFQOgK by wolf480pl@mstdn.io
2020-04-16T18:13:46Z
0 likes, 0 repeats
You're not allowed to have any policy in the kernel, unless your kernel has a Lua interpreter, and the policy is implemented as a lua script that the admin can replace at runtime.
(DIR) Post #9u8IsP2P8EOALjHbsm by blastmaster@chaos.social
2020-04-17T11:19:19Z
0 likes, 0 repeats
@wolf480plyou mention systemtap right? whats about eBPF it doesn't require a lua interpreter i think.
(DIR) Post #9u8Ivh0gleEIxU37Wy by wolf480pl@mstdn.io
2020-04-17T11:19:55Z
0 likes, 0 repeats
@blastmaster I mention NetBSD's ability to implement drivers in Lua
(DIR) Post #9u8JNAl0HEAb2Hoeem by blastmaster@chaos.social
2020-04-17T11:24:53Z
0 likes, 0 repeats
@wolf480plohh other os. What? whole drivers in lua? is this really a good idea? what is intended with that?
(DIR) Post #9u8JWmJI1c8O6vQwCm by wolf480pl@mstdn.io
2020-04-17T11:26:38Z
0 likes, 0 repeats
@blastmaster from what I've heard, it's for prototyping drivers for low-speed peripherals like GPIO.That isn't exactly policy, but if you already have Lua interpreter in kernel like NetBSD does, you may as well use it to implement policy.
(DIR) Post #9u8K7uY6M7n4NU4GtE by wolf480pl@mstdn.io
2020-04-17T11:33:20Z
0 likes, 0 repeats
@blastmaster https://www.netbsd.org/gallery/presentations/mbalmer/fosdem2012/kernel_mode_lua.pdf
(DIR) Post #9u8KY8EU6SEuLVOZ3g by wolf480pl@mstdn.io
2020-04-17T11:38:05Z
0 likes, 0 repeats
@blastmaster https://netbsd.gw.com/cgi-bin/man-cgi?lua+4+NetBSD-9.0