In the bind system call function.
在bind系统调用函数中。
Listing 1. The madvise system call.
清单1.madvise系统调用。
Listing 3. The sendfile system call.
清单3. sendfile系统调用。
Hence, the system call is named fork .
因此,系统调用被命名为fork 。
System Call Entry/Exit probes (or syscall)
系统调用入口/出口探针(或syscall)
This system call returns a file descriptor.
这个系统调用返回一个文件描述符。
The fork(2) system call creates a new process.
fork(2)系统调用创建一个新进程。
retval is the return value of the system call.
retval是系统调用的返回值。
This is step 3, updating the system call table.
这就是第3个步骤,更新系统调用表。
For that purpose it USES the system call fork .
为此它使用了系统调用fork 。
Update the system call table for the new function.
针对这个新函数更新系统调用表。
Listing 1-3 is a complete system call module.
清单1 - 3是一个完整的系统调用模块。
to execute a probe upon exit of the system call
对函数调用的退出执行探测
This article discusses only the sendmsg system call.
本文仅讨论sendmsg系统调用。
We implement it by intercepting the system call.
使用替换系统调用的方法实现网络流量控制。
All the read system calls eventually call soreceive .
所有的read系统调用最终调用soreceive 。
Read event occurrence data through a read() system call.
通过read()系统调用读取事件发生数据。
Example: Probe at exit of read system call all processes.
示例:读取系统调用所有进程的出口的探针。
The pagesize is available by the system call getpagesize.
页面大小可以使用系统调用getpagesize获得。
You must also consider the overhead of system call tracing.
您还需要考虑系统调用跟踪本身的开销。
Call setuid (2) or a related system call to change its userid.
调用setuid(2)或相关的系统调用来修改userid。
At the core of the SCI is the system call demultiplexing table.
SCI的核心是系统调用多路分解表。
The system call chroot has a number of problems, as noted above.
chroot系统调用有很多问题,如前所述。
The system call interface can be described from two perspectives.
系统调用接口可以从两个角度进行描述。
The send system call returns, creating the fourth context switch.
send系统调用返回,结果导致了第四次的上下文切换。
If all you need is the chroot system call, fakechroot can do that.
如果您只需要chroot系统调用,那么fakechroot就可以满足您的要求。
Here you can see the code for the system call, with four parameters.
在下面将看到系统调用的代码,它有四个参数。
Puts a probe on the exit system call to exit when the process exits.
在exit系统调用上设置探查,从而在进程退出时退出。
You perform three basic steps to add a new system call to the kernel
向内核中添加新系统调用,需要执行3 个基本步骤
You perform three basic steps to add a new system call to the kernel
向内核中添加新系统调用,需要执行3 个基本步骤
应用推荐