module: Introduce module unload taint tracking
[sfrench/cifs-2.6.git] / init / Kconfig
index ddcbefe535e9e784d170bf2dd765dc0ad3e81652..6b30210f787dff6eeb23d4835a561b2e80294c31 100644 (file)
@@ -2118,6 +2118,17 @@ config MODULE_FORCE_UNLOAD
          rmmod).  This is mainly for kernel developers and desperate users.
          If unsure, say N.
 
+config MODULE_UNLOAD_TAINT_TRACKING
+       bool "Tainted module unload tracking"
+       depends on MODULE_UNLOAD
+       default n
+       help
+         This option allows you to maintain a record of each unloaded
+         module that tainted the kernel. In addition to displaying a
+         list of linked (or loaded) modules e.g. on detection of a bad
+         page (see bad_page()), the aforementioned details are also
+         shown. If unsure, say N.
+
 config MODVERSIONS
        bool "Module versioning support"
        help