Table 2. Simplifications of the usermode-helper API.
表2. usermode - helperAPI的简化。
The usermode-helper API is a simple API with a well-known set of options.
usermode -helperAPI是个很简单的API,其选项为用户熟知。
The usermode-helper API also supports Linux in an orderly system shutdown.
usermode - helperAPI还支持Linux按照顺序关闭系统。
Dynamic module loading occurs from the kernel through the usermode-helper process.
动态模块加载在内核通过usermode - helper进程进行。
The use of the usermode-helper API is shown in Listing 2, which you'll explore in detail.
usermode-helperAPI的使用如 清单2 所示,其中有详细描述。
The implementation of the usermode-helper API is quite simple and straightforward (see Figure 2).
usermode - helperAPI的实现相当简单直观(见图2)。
This application uses the usermode-helper API through the dynamic loading of search algorithms as loadable modules.
该应用程序使用usermode-helperAPI 将搜索算法当作可加载模块进行动态加载。
Little information exists about the usermode-helper API, but the implementation is quite clean and simple to follow.
关于usermode - helperAPI的资料很少,但其实现相当简洁易于模仿。
The function request_module encapsulates the functionality of the usermode-helper API and provides a simple interface.
request_module 函数封装了usermode-helperAPI的功能并提供了简单的接口。
An interesting application of the usermode-helper API (via request_module) is the textsearch API (./lib/textsearch.c).
关于 usermode-helperAPI的一个有趣的应用程序(通过 request_module)是文本搜索 API(./lib/textsearch.c)。
Note that kernel_execve is the function used to start the init process at boot time and does not use the usermode-helper API.
请注意kernel_execve是在启动时开启init进程的函数,而且未使用usermode - helper API。
To illustrate the usermode-helper API, this article uses loadable kernel modules to install test applications into the kernel.
为了演示usermode-helperAPI,本文使用了可加载的内核模块安装测试应用程序到内核。
This structure (which can be found in ./kernel/kmod.c) aggregates all of the necessary elements for a given usermode-helper instance.
该结构(可在./kernel/kmod.c中找到)集合了给定的usermode-helper 实例的所有必需元素。
Through the usermode-helper API, the module is loaded into the kernel via modprobe (the application invoked in user space via request_module).
通过使用usermode - helperAPI,模块通过modprobe加载到内核(应用程序通过request _ module在用户空间被调用)。
Let's begin with an exploration of usermode-helper, its application programming interface (API), and some of the examples of where this feature is used in the kernel.
让我们从探索usermode - helper应用程序编程接口(API)以及在内核中使用的例子开始。
The usermode-helper API is an important aspect to the kernel, given its wide and varying use (from kernel module loading, device hot-plugging, and event distribution for udev).
usermode - helperAPI是内核中重要的部分,这是由于其广泛多样的用途(从内核模块加载、设备热插拔到udev事件发布)。
The usermode-helper API is an important aspect to the kernel, given its wide and varying use (from kernel module loading, device hot-plugging, and event distribution for udev).
usermode - helperAPI是内核中重要的部分,这是由于其广泛多样的用途(从内核模块加载、设备热插拔到udev事件发布)。
应用推荐