11 2020 档案
摘要:一、从内核调用用户空间应用程序 用户空间应用程序大多数时候是由其他应用程序从用户空间中调用的,不深入细节,让我们看一个例子: 1 #include <linux/init.h> 2 #include <linux/module.h> 3 #include <linux/workqueue.h> /*
阅读全文
摘要:不想加载某个模块 对于在 /lib/modules/xxx/kernel/drivers/ 目录下的模块,内核在启动时会自动加载,如果不想某个模块自动加载可以在 /etc/modprobe.d/blacklist.conf 配置文件中加入如下行: blacklist modulename modul
阅读全文