-
- Downloads
module: Introduce module unload taint tracking
Currently, only the initial module that tainted the kernel is recorded e.g. when an out-of-tree module is loaded. The purpose of this patch is to allow the kernel to maintain a record of each unloaded module that taints the kernel. So, in addition to displaying a list of linked modules (see print_modules()) e.g. in the event of a detected bad page, unloaded modules that carried a taint/or taints are displayed too. A tainted module unload count is maintained. The number of tracked modules is not fixed. This feature is disabled by default. Signed-off-by:Aaron Tomlin <atomlin@redhat.com> Signed-off-by:
Luis Chamberlain <mcgrof@kernel.org>
Showing
- init/Kconfig 11 additions, 0 deletionsinit/Kconfig
- kernel/module/Makefile 1 addition, 0 deletionskernel/module/Makefile
- kernel/module/internal.h 21 additions, 0 deletionskernel/module/internal.h
- kernel/module/main.c 5 additions, 0 deletionskernel/module/main.c
- kernel/module/tracking.c 61 additions, 0 deletionskernel/module/tracking.c
Loading
Please register or sign in to comment