The kernel module registers a new key type.
这个内核模块注册一个新的密钥类型。
provider: is the kernel module that instruments the probe
provider:执行探测的内核模块
Listing 5 shows a new key type being declared in the kernel module.
清单5给出在内核模块中声明的一个新的密钥类型。
Having created a new key type, we next want to try using the kernel module.
创建了新的密钥类型之后,我们来试用一下这个内核模块。
Do a make to build the binaries of the kernel module and user-level programs.
执行make来构建内核模块和用户级程序的二进制代码。
Download the source of the kernel Module Utilities for 2.6; this replaces modutils for modern kernels.
下载内核ModuleUtilitiesfor 2.6的源文件;它可以取代当前新内核的modutils。
You use the stap utility to convert the stap script into the kernel module that provides the probe behaviors.
您使用stap实用程序将stap脚本转换成提供探针行为的内核模块。
The final step of stap is the construction of the kernel module (pass 4), which USES the local kernel module build process.
stap的最后步骤是构造使用本地内核模块构建进程的内核模块(pass4)。
With the availability of the kernel module, stap hands control over to two other SystemTap utilities: staprun and stapio.
有了可用的内核模块之后,stap完成了自己的任务,并将控制权交给其他两个实用程序systemtap:staprun和stapio。
When executed, the user-space program does an ioctl on pre-defined proc-entries, which results in a call to the kernel module.
这个用户空间程序在预定义的proc -entries上执行ioctl,这会导致对内核模块的调用。
When the kernel module receives an ioctl request, it first, creates a session keyring, by calling key_alloc to allocate a new key.
当内核模块收到ioctl请求时,它首先调用key_alloc来分配一个新的密钥,从而创建一个会话keyring。
Because the user-space program will do an ioctl, the function proc_ioctl must be registered by the kernel module to handle ioctl requests.
因为这个用户空间程序将执行ioctl,内核模块必须注册proc _ ioctl函数来处理ioctl请求。
The kernel module exports a device called /dev/kvm, which enables a guest mode of the kernel (in addition to the traditional kernel and user modes).
这个内核模块导出了一个名为 /dev/kvm的设备,它可以启用内核的客户模式(除了传统的内核模式和用户模式)。
The kernel module implements a driver for a virtual block device (which is replicated between a local disk and a remote disk across the network).
内核模块实现一个用于虚拟块设备(跨网络在本地磁盘与远程磁盘之间复制)的驱动程序。
There are three kinds of contributions in this paper:1. Describe the work other people have done in the kernel module protection field in retrospect.
本文主要完成了以下三方面的工作:1。概要地回顾了内核模块保护领域的现状,介绍了现有的技术和各种应用领域。
The kernel module loader has also been completely reimplemented in 2.5, which means that the module-building mechanism is much different compared to 2.4.
内核模块加载器也在2.5中完全被重新实现,这意味着模块编译机制相对于2.4有了很大不同。
According to the statistics from the well known set-top-box design groups, after the development of the kernel module become stable, more than 80% of workload will spent in GUI.
根据某著名数字电视接收机厂商统计,在内核模块开发稳定后,80%以上的工作量就在GUI部分。
This paper describes the design of a real-time multitask monitoring system, and more on the kernel module RTMMON in: task control, resource management, interrupt process and communication.
本文介绍了实时多任务监控系统的设计思想,着重阐述了RTMMON的核心模块:任务控制部、资源控制部、中断控制部及通信控制部的设计。
The sample program has two components: a kernel module and a user-space program.
示例程序有两个组件:一个内核模块和一个用户空间程序。
The respective kernel module and user space files reside in these directories.
相应的内核模块和用户空间文件分别在这两个目录中。
Listing 1 provides a simple kernel module that demonstrates the core aspects of the simple timer API.
清单1提供了一个简单的内核模块,用于展示简单计时器api的核心特点。
The user code will run and return very quickly since the template simply communicates with the registered kernel module and returns.
由于模板只是与已经注册的内核模块通信并返回,所以用户代码将运行并迅速返回结果。
Note that there are two ways to build most components of the kernel, such as a module or directly into the kernel.
请注意,有两种方法可以构建多数内核组件,比如作为模块或直接构建到内核中。
No dependencies exist now for the module, and the process of cleaning up the kernel can begin for this module.
该模块不存在依赖项,因此可以开始模块的内核清理过程。
Loadable kernel module; no recompilation of the kernel is required.
可装载内核模块;无需重编译内核。
KERNEL_SRC indicates the kernel source directory and SUBDIR indicates the directory where the module is located.
KERNEL_SRC指定内核源文件所在的目录,SUBDIR指定放置模块的目录。
FUSE is a mechanism that allows you to implement file systems in user space without kernel code (other than the FUSE kernel module and existing file system code).
FUSE是一种机制,允许您在没有内核代码(除FUSE内核模块和现有的文件系统代码以外)情况下在用户空间中实现文件系统。
The first module the thread ran is vmlinux, or kernel code.
线程运行的第一个模块是vmlinux,或内核代码。
In this case, the hooks are defined in the loadable kernel module for SELinux.
在本例中,这些钩子在可载入的SELinux内核模块中定义。
KVM then simply turns the Linux kernel into a hypervisor (when you install the KVM kernel module).
kvm然后会简单地将Linux内核转换成一个系统管理程序(在安装kvm内核模块时)。
应用推荐