Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在构建的安全软件包含一个内核模块。因为内核必须处理数据包。
不要使用 DKMS,因为它是商业软件。
如果内核版本上升,insmod 就不起作用。
我应该怎么办?你有个好主意吗?
如果您不能动态加载模块,那么加载模块的另一个选项是将其作为内核的一部分。请参考以下链接:
http://newbiedoc.sourceforge.net/system/kernel-pkg.html