Re: a bug in genksysms/CONFIG_MODVERSIONS w/ __attribute__((foo))?

From: Nick Desaulniers
Date: Mon Jul 27 2020 - 14:03:33 EST


On Sun, Jul 26, 2020 at 4:31 PM Rob Simmons <rsimmons514@xxxxxxxxx> wrote:

You may have forgotten to send a body; but yes genksysms is brittle
and upstream development on it stopped years ago. Put an attribute
someplace unexpected and the parser will silently fail, making the
modversions hash all zeros, which doesn't protect you from loading a
potentially harmful module with different function signature. If
you're planning on attending plumbers, I plan to put together a brief
talk on the subject.
--
Thanks,
~Nick Desaulniers