3 ms·
> I really wish there was some more structured way of talking to the kernel There's netlink. It's "more structured", in that it has a lot more structures. Mod
by _pmf_ 9y ago
> I really wish there was some more structured way of talking to the kernel
There's netlink. It's "more structured", in that it has a lot more structures.
Modules of common subsystems already support the same ioctl structs where this makes sense. Any mechanism replacing ioctls would only change the way you call it, it cannot reduce the inherent differences between modules. Well, one could use D-Bus or some generic property / key-value system, but this would only be generic on the surface.