internal/kobject: process uevent

This tracks kernel state by merging a stream of uevent. Inconsistencies are reported and recovered from gracefully.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-25 13:10:30 +09:00
parent 3458806685
commit fadd1b14f7
9 changed files with 2533 additions and 0 deletions

1
internal/kobject/testdata/01-move vendored Normal file
View File

@@ -0,0 +1 @@
{"action":"move","devpath":"/devices/virtual/net/_lo","env":["ACTION=move","DEVPATH=/devices/virtual/net/_lo","SUBSYSTEM=net","DEVPATH_OLD=/devices/virtual/net/lo","INTERFACE=_lo","IFINDEX=1","SEQNUM=1043"]}