[lkml]   [2011]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] module: Enable dynamic debugging regardless of taint
* Rusty Russell ( wrote:
> On Tue, 01 Nov 2011 03:59:33 +0000, Ben Hutchings <> wrote:
> > Dynamic debugging is currently disabled for tainted modules, except
> > for TAINT_CRAP. This prevents use of dynamic debugging for
> > out-of-tree modules now that they are also tainted.
> >
> > This condition was apparently intended to avoid a crash if a force-
> > loaded module has an incompatible definition of dynamic debug
> > structures. However, a administrator that forces us to load a module
> > is claiming that it *is* compatible even though it fails our version
> > checks. If they are mistaken, there are any number of ways the module
> > could crash the system.
> >
> > Signed-off-by: Ben Hutchings <>
> Thanks, applied, unless Mathieu objects...

I'm OK with that. We should probably note in the changelog the
side-effect of now supporting dynamic debugging of proprietary drivers.
If we start doing this for dynamic debugging, I'd be tempted to do it
for tracepoints and static jump labels too, since at least tracepoints
would not be the only "offender" (from an end-user point of view)
causing crashes on incompatible module load.


Acked-by: Mathieu Desnoyers <>

> Cheers,
> Rusty.

Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.

 \ /
  Last update: 2011-11-01 13:51    [W:0.056 / U:0.716 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site