Sag*_*ain 8 linux module linux-kernel
我知道insmod并modprobe习惯将模块插入内核.但是,它们之间的区别是什么?
而且,为什么force在modprobe中插入带有选项的模块会很危险?
rak*_*ib_ 14
modprobe是智能版insmod.insmod只需添加一个模块,modprobe查找任何依赖项(如果该特定模块依赖于任何其他模块)并加载它们.
关于--force选项,这里是手册页的引用:
Try to strip any versioning information from the module which might otherwise
stop it from loading: this is the same as using both --force-vermagic and
--force-modversion. Naturally, these checks are there for your protection,
so using this option is dangerous unless you know what you are doing.
Run Code Online (Sandbox Code Playgroud)
这表明它已被用于跳过内核模块版本检查.如果您使用自己的内核模块或来自任何可信方,则不应该有任何问题.但是你应该知道你在做什么.
| 归档时间: |
|
| 查看次数: |
6741 次 |
| 最近记录: |