内核异味值是什么意思?
运行cat /proc/sys/kernel/tainted打印当前内核污点值(以10为底)。我的理解是,该值是一个位域,其中每个位指示是否存在特定类型的异味。您可以使用以下方法提取位 python3 -c 'from pprint import pprint; pprint(list(zip(range(50), reversed(bin(int(open("/proc/sys/kernel/tainted").read()))[2:]))))' 我已经搜索过文档,但是所看到的仅能识别0到10位的含义。例如,http://www.kernel.org/doc/Documentation/sysctl/kernel.txt表示: tainted: Non-zero if the kernel has been tainted. Numeric values, which can be ORed together. The letters are seen in "Tainted" line of Oops reports. 1 (P): A module with a non-GPL license has been loaded, this includes modules …