]> git.karo-electronics.de Git - karo-tx-linux.git/commit
module: Enable dynamic debugging regardless of taint
authorBen Hutchings <ben@decadent.org.uk>
Tue, 1 Nov 2011 03:59:33 +0000 (03:59 +0000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 23:04:30 +0000 (10:04 +1100)
commitdfb79dc90488e2cee9f95f90c7c68e0df37944fa
tree419de97619d6fa7e54f1f7b8800a593110c0c974
parent996109662e2f382f8414a05a47d35073b4bac39a
module: Enable dynamic debugging regardless of taint

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 <ben@decadent.org.uk>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c