• Aaron Tomlin's avatar
    module: Introduce module unload taint tracking · 99bd9956
    Aaron Tomlin authored
    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: default avatarAaron Tomlin <atomlin@redhat.com>
    Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
    99bd9956
Makefile 722 Bytes