摘要
L K M是内核为了扩展其功能所使用的可加载内核模块。当L K M被载入内核,就能修改内核变量,重载内核函数,轻易实现扩充或裁剪操作系统内核的某些功能。本文以系统调用模块为例,分析了OpenBSD下LKM的实现过程和机制,并总结了OpenBSD下系统调用模块开发和测试的具体步骤。
LKM is loadable Kernel module and it is being used to extend kemel's functionality. The parameters of Kernel can be set while LKM is loaded that ease kernel modification. This paper uses system calls with modules as examples to analyze the implementation of LKM with OpenBSD, also, summarizes how to develope and test modules step by step.
出处
《自动化与仪器仪表》
2012年第2期9-11,共3页
Automation & Instrumentation