Bug 4778 - lsmod: show all Linux taint kinds
Summary: lsmod: show all Linux taint kinds
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 03:53 UTC by Basil Nutmeg
Modified: 2016-02-13 11:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Basil Nutmeg 2012-02-20 03:53:13 UTC
check_tainted in modutils/lsmod.c knows only three of the
thirteen taint kinds that current Linux versions define (in
include/linux/kernel.h in Linux).

It would be useful for busybox's lsmod to be able to
display all of the taint kinds. See the comments for
print_tainted in Linux's kernel/panic.c for the mapping
to letters.

I observed this problem in lsmod printing "Tainted: G" on
one of my systems. This was confusing, because the message
suggests that there is some kind of taint, but 'G' just
means there is no proprietary module taint. It took
manual investigation to turn up that the actual taint kind
happened to be TAINT_OOT_MODULE in this case.