Re: [PATCH] PREEMPT_RT vermagic

From: Tom Rini
Date: Wed Aug 31 2005 - 09:30:09 EST


On Wed, Aug 31, 2005 at 09:20:17AM +0200, Ingo Molnar wrote:
>
> * Daniel Walker <dwalker@xxxxxxxxxx> wrote:
>
> > Ingo,
> > This patch adds a vermagic hook so PREEMPT_RT modules can be
> > distinguished from PREEMPT_DESKTOP modules.
>
> vermagic is very crude and there are zillions of other details and
> .config flags that might make a module incompatible. You can use
> CONFIG_MODVERSIONS to get a stronger protection that vermagic, but
> that's far from perfect too. The right solution is the module signing
> framework in Fedora. Until that gets merged upstream just dont mix
> incompatible modules, and keep things tightly packaged.

MODVERSIONS won't get the PREEMPT_RT vs PREEMPT_DESKTOP case right
without this, unless I'm missing something.

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/