diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2002-11-16 19:22:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-11-16 19:22:06 -0800 |
| commit | a89a8e24521557f9e1b4f01fa581dd979382b4cb (patch) | |
| tree | c96797f95cd3326ea1ca00953a5e5ab5911c75dd /include/linux/kernel.h | |
| parent | bbeabef1b1bba4a0eb2c8b6ae7418f9ac1331887 (diff) | |
[PATCH] Forced module unload
This is the logical counterpoint to the code which marks modules
"[unsafe]" when obsolete (racy) interfaces are used. Allows "just
remove the damn thing" rmmod -f, and taints the kernel.
Mark it dangerous and experimental in the config file to make this
doubly clear.
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index b81053121b20..b26057b85ea0 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -102,6 +102,7 @@ extern const char *print_tainted(void); #define TAINT_PROPRIETORY_MODULE (1<<0) #define TAINT_FORCED_MODULE (1<<1) #define TAINT_UNSAFE_SMP (1<<2) +#define TAINT_FORCED_RMMOD (1<<3) extern void dump_stack(void); |
