|
32bf80c6fa
|
devout: unlink socket pathname before binding
|
2024-09-05 10:05:13 +01:00 |
|
|
ff38bcacbb
|
improve devout error reporting
|
2024-08-21 23:24:13 +01:00 |
|
|
f091bbd706
|
devout: recognise attr,attrs when parsing search term string
|
2024-06-01 23:48:05 +01:00 |
|
|
04b068f7a3
|
delete unused code
|
2024-06-01 22:43:48 +01:00 |
|
|
53f57c1a8c
|
devout: support sysfs attributes for (grand*)parent device
|
2024-06-01 22:43:27 +01:00 |
|
|
19aba0d873
|
devout: support search for sysfs attributes
|
2024-06-01 21:20:41 +01:00 |
|
|
7d00b39249
|
rename attributes->properties when referring to uevent fields
properties: key-value pairs in the uevent message
attributes: file contents in sysfs
|
2024-06-01 12:17:49 +01:00 |
|
|
a3fca5bf05
|
devout: add functions to read sysfs attributes
|
2024-05-26 18:03:32 +01:00 |
|
|
80628a3d90
|
move event matching tests to devout
in preparation for future uevent-watch not needing to do
event matching
|
2024-04-27 21:07:25 +01:00 |
|
|
bf0cafffed
|
start devout alongside mdevd
ensure it starts before mdevd-coldplug so it can populate
its database
|
2024-04-26 20:52:12 +01:00 |
|
|
e49aba127c
|
devout: improve socket error handling
|
2024-04-26 20:49:23 +01:00 |
|
|
324465bc18
|
devout: write uevent KEY=value format to clients
|
2024-04-26 17:37:28 +01:00 |
|
|
b33249a050
|
devout: add readiness notification
|
2024-04-26 17:23:29 +01:00 |
|
|
b9c084415e
|
devout: handle readiness on netlink socket but no event
|
2024-04-26 17:20:33 +01:00 |
|
|
cf9cadd212
|
devout: replay relevant events to new subscriber
|
2024-04-26 17:20:33 +01:00 |
|
|
a116fe084a
|
devout: use socket constants from anoia.net.constants
|
2024-04-26 16:48:51 +01:00 |
|
|
18335b95e3
|
devout: strip newlines from client terms
this is just to make testing with socat easier
|
2024-04-24 18:33:02 +01:00 |
|
|
6bee2f67ac
|
devout: add incoming netlink messages to database
|
2024-04-24 18:32:27 +01:00 |
|
|
b4ba3eea21
|
fix revents in unpack-pollfds
|
2024-04-24 18:31:26 +01:00 |
|
|
032d0f8aca
|
add netlink socket
it's not hooked up to anything yet, but it proves we can
do this with lualinux
|
2024-04-23 23:34:25 +01:00 |
|
|
b8ac9e5279
|
convert devout from minisock to lualinux
|
2024-04-23 23:33:11 +01:00 |
|
|
97a8ae1c84
|
devout: add event loop and main run function
|
2024-04-23 20:15:02 +01:00 |
|
|
52eb283a26
|
implement unsubscribe
and add ids to subscribe so that there's a unique identifier
to pass to unsubscribe
|
2024-04-23 20:12:46 +01:00 |
|
|
f9c03998b8
|
implement subscriptions with callback
|
2024-04-21 13:19:17 +01:00 |
|
|
e9370358ae
|
implement "remove" events
|
2024-04-21 11:19:06 +01:00 |
|
|
762ce7b6b8
|
cut/paste devout implementation into a real module
|
2024-04-20 22:48:00 +01:00 |
|
|
349bfecbb8
|
new package "devout", does nothing yet
|
2024-04-20 17:45:40 +01:00 |
|