The end of modversions?
The end of modversions?
Posted Dec 1, 2016 10:11 UTC (Thu) by jcm (subscriber, #18262)In reply to: The end of modversions? by jcm
Parent article: The end of modversions?
Oh, and technically, it gets far worse if you rely upon manually maintained ABI revisions. Now you have a situation in which - unless everyone is very careful to always remember to update the versioning whenever anything that depends upon a symbol changes (and that's not just the interface, that's any recursively using a structure referenced from a structure in the interface) - you can have modules that "load" and will crash the kernel. That's exactly the inverse of ideal. The reason for the complex CRC trickery is to ensure that - to a first approximation - nothing in the chain of dependencies in terms of structures used by a symbol has changed.
Posted Dec 2, 2016 1:14 UTC (Fri)
by JanC_ (guest, #34940)
[Link]
The end of modversions?
I know the Ubuntu kernel team uses a script ('abi-check') that checks for ABI-changes at build-time (used for kernel/package versioning), but I'm not sure if it depends on "modversions" or not…