PATCH Check module version each time it is loaded

Michal Suchanek hramrach at centrum.cz
Fri Oct 7 05:58:35 PDT 2011


Hello,

The X server "duplicates" modules by loading them again from the disk.

Since this "duplication" happens on every input device hotplug, possibly weeks
after the X server has been started a different module might have been
installed by that time (eg. due to upgrading distribution packages) the X
server should check the module every time it is loaded to prevent weird issues
due to modules compiled for different ABI.

I compiled an X server with the patch and it worked but I have no idea how to
test the error paths.

https://bugs.freedesktop.org/attachment.cgi?id=51585
https://bugs.freedesktop.org/show_bug.cgi?id=41182


More information about the xorg-devel mailing list