System call functional verification tests.
系统调用功能的验证测试。
Using the setpgid() and setuid() system call
使用setpgid()和setuid()系统调用
The sigaction system call takes three parameters
sigaction系统调用需要使用 3 个参数
A shows the argument strings passed in each exec system call.
a显示每个exec系统调用中传递的参数字符串。
Any TCP system call that is made is received by the socket layer.
套接字层接收进行的任何TCP系统调用。
Figure 14 shows the sequence of calls for the recvmsg system call.
图14显示了用于recvmsg系统调用的调用序列。
The clone system call has been extended to optimize thread creation.
系统调用clone被扩展,以优化线程的创建。
The socket system call creates a new socket by assigning a new descriptor.
socket系统调用通过分配新的描述符创建新的套接字。
The shutdown system call closes either one or both ends of the connection.
shutdown系统调用关闭连接的任意一端或两端。
The open system call determines whether the mapping is readable or writable.
open系统调用确定映射是否可读或可写。
The close system call closes or aborts any pending connections on the socket.
close系统调用可关闭或中止套接字上任何挂起的连接。
The accept system call is a blocking call that waits for incoming connections.
accept系统调用是等待传入连接的阻塞调用。
Most frequently, such calls are made indirectly, though a system call interface.
通常,这种调用通过系统调用接口间接完成。
Some functions need to use a system call in order to do their work, others do not.
有些函数需要使用系统调用来完成其工作,其它函数则不需要。
The socket system call also assigns the protocol to the created socket descriptor.
socket系统调用还向创建的套接字描述符分配协议。
The asterisk indicates that the read system call for all processes are to be probed.
星号表示所有进程的read系统调用都应该探测。
But the XPDF developers decided to start up the viewer by using the system call.
然而,xpdf的开发者决定使用system调用来启动浏览器。
Step one: the read system call causes a context switch from user mode to kernel mode.
read() 调用(参见 图 2)引发了一次从用户模式到内核模式的上下文切换。
This system call changes what the process views when it views the "root" of the filesystem.
当进程查看文件系统的“root”时,这个系统调用会修改进程所看到的内容。
This system call requires the file descriptor from shm_open and returns a pointer to memory.
这个系统调用需要shm_open返回的文件描述符,它返回指向内存的指针。
Adding a new system call is mostly procedural, although you should look out for a few things.
添加一个新系统调用主要是一些程序性的操作,但应该注意几件事情。
The hard part is that the system call may be difficult or impossible to implement reasonably.
困难之处在于可能难以或者不可能较好地实现系统调用。
Step three: the write system call causes a context switch from user mode to kernel mode.
send() 套接字调用引发了从用户模式到内核模式的上下文切换。
Similarly, functions such as printf and fprintf invoke the write system call to do their work.
类似地,printf和fprintf这样的函数调用write系统调用完成其工作。
For step 2, I update the header files to make room for the new functions in the system call table.
对于步骤2来说,我对头文件进行了更新:在系统调用表中为这几个新函数安排空间。
For more information on errors that can occur in system calls, see the section system call errors.
有关系统调用中出现错误的更多信息,请参阅系统调用错误一节。
Unlike the corresponding system call DeviceIOControl, the input parameter list in ioctl is not fixed.
与对应的系统调用DeviceIOControl不同,ioctl的输入参数列表并不固定。
In terms of the way it is called, there is no difference between a system call and a library function.
就调用方式而言,系统调用与库函数之间没有区别。
In this example, you modify your last script slightly to collect system call data for a single process.
在这个例子中,您稍微修改了上一个脚本,让它收集一个进程的系统调用数据。
Because the system call is displayed after it has been executed, the output is shown in the line before.
因为在其执行之后才显示这个系统调用,所以先输出了它的执行结果。
应用推荐