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.
有没有办法在运行时在 linux-kernel-module 中动态加载编译的 c 代码?我正在寻找类似dlopenfrom的东西libdl。
dlopen
libdl
是的。将代码移动到另一个模块中,然后在您的模块中创建对另一个模块的依赖关系。