Repository navigation
Commit 1cd0d6c
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 once the next patch is applied.
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.
As a side-effect, proprietary and other tainted modules can now use
dynamic_debug.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>1 parent 43672a0 commit 1cd0d6c
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2878 | 2878 | | |
2879 | 2879 | | |
2880 | 2880 | | |
2881 | | - | |
2882 | | - | |
| 2881 | + | |
2883 | 2882 | | |
2884 | 2883 | | |
2885 | 2884 | | |
| |||
2915 | 2914 | | |
2916 | 2915 | | |
2917 | 2916 | | |
2918 | | - | |
2919 | | - | |
| 2917 | + | |
2920 | 2918 | | |
2921 | 2919 | | |
2922 | 2920 | | |
| |||
0 commit comments