【linux内核-insmod Tainted】

当我们使用insmod插入自己编译的内核的时候,通过dmesg查看日志信息经常会看到类似的语句
在这里插入图片描述

1、Tainted

这个是污染的意思,就是自己编译的内核,不是系统内部认可的,但是一般不影响正常使用。

The primary reason for the ‘Tainted: ‘ string is to tell kernel debuggers if this is a clean kernel or if anything unusual has occurred. Tainting is permanent: even if an offending module is unloaded, the tainted value remains to indicate that the kernel is not trustworthy.

2、insmod Tainted: P OE -

这里有17个占位,填写空格或对应的字母,1-17占位字符是GPFSRMBUDAWCIOELK ,上面的例子是 第一个空格,第2个P,第3-13是空格,第14-15是OE,第16-17是空格。

具体每一个字母的含义可以参考官方文档:
字符含义

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值