This commit is contained in:
Daniel Barlow 2024-04-24 18:33:57 +01:00
parent 18335b95e3
commit 834858d5bc

View file

@ -4722,11 +4722,15 @@ I think we could make the event loop abstraction leak less?
It's not actually a _loop_, all the actual GOTO 10 happens It's not actually a _loop_, all the actual GOTO 10 happens
outside of it outside of it
1) see if we can do netlink in lualinux [X] 1) see if we can do netlink in lualinux
2) if so, convert it to lualinux [X] 2) if so, convert it to lualinux
3) add netlink socket to event loop [X] 3) add netlink socket to event loop
4) make it send messages to subscribers [X] 4) make it send messages to subscribers
5) package it 5) package it
6) make inout test use it instead of uevent-watcher 6) make uevent-watcher use it instead of netlink directly
7) write an inout test variant that has the stick inserted 7) write an inout test variant that has the stick inserted
at boot time already at boot time already
I'm also thinking we could wrap the raw fds from lualinux into small
objects with read and close methods? It would make testing easier if
nothing else - also use of with-open. Maybe do that in anoia.