11 2020 档案

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

点击右上角即可分享
微信分享提示