syscall
- 网络系统调用
-
A blocking syscall , like a read will only return once data is available .
阻塞的系统调用,就拿读取来说,直到数据准备好的时候才会返回。
-
In the end , the syscall interface provides the means to transfer control between the user-space application and the kernel .
最后,系统调用接口提供了在用户空间应用程序和内核之间转移控制的方法。
-
System Call Entry / Exit probes ( or syscall probes )
系统调用进入/退出探测(即syscall探测)
-
The syscall function is architecture specific but uses a mechanism to transfer control to the kernel .
syscall函数特定于架构,使用一种机制将控制权交给内核。
-
With the first method , you call your new functions as identified by their index through the syscall function .
使用第一种方法,您可以通过syscall函数调用由其索引所标识的新函数。
-
As you can see , the syscall function includes as its first argument the index of the system call table to use .
正如您所见,syscall函数使用了系统调用表中使用的索引作为第一个参数。
-
Next , you have a syscall probe .
接下来是一个syscall探针。
-
Never reference this file directly ; instead use / usr / include / sys / syscall . h.
永远都不要直接引用这个文件;而是要使用/usr/include/sys/syscall.h文件。
-
Under UNIX , calling the kernel consists of an operation known as a syscall or trap .
UNIX下的内核调用由所谓的syscall或者trap操作构成。
-
With the syscall function , you can call a system call by specifying its call index and a set of arguments .
使用syscall函数,您可以通过指定它的调用索引和一组参数来调用系统调用。
-
The add_key syscall is used to create keys of type type and length plen .
addkey系统调用用来创建类型为type、长度为plen的密钥。
-
With syscall probes , the input arguments and return values are available to the VUE script .
通过使用系统调用探测,可以在VUE脚本中使用输入参数和返回值。
-
The request_key syscall searches a process keyring for a key .
requestkey系统调用搜索一个进程keyring,寻找一个密钥。
-
System call probes , or syscall probes , are probes used to probe functions in the libc library as well as the kenel .
系统调用探测(即syscall探测)用来探测libc库和内核中的函数。
-
Note also that the input ( syscall number ) is consumed ( used ) before the output ( the return value of syscall ) is produced .
另请注意,输入(syscall号)在产生输出(syscall的返回值)之前被消耗(使用)。
-
During early testing , I ran pseudo with the server modified to randomly crash about one syscall in three , with the intent of carefully testing this functionality .
在早期测试中,我将服务器修改为在大约每三个系统调用中随机崩溃一次,用这种方法来测试重新启动功能。
-
For example , the mnkod ( 2 ) syscall is implemented by creating a plain file , then recording the requested file type in the pseudo database .
例如,mnkod(2)系统调用是通过创建一个纯文本文件来实现,然后在pseudo数据库中记录所请求的文件类型。
-
Now that basic explanations of the script syntax and probe types have been covered , let 's take a look at a simple ProbeVue script that uses a syscall probe .
前面已经简要解释了脚本语法和探测类型,现在来看一个使用系统调用探测的简单ProbeVue脚本。
-
One way is to catch an I / O call before it causes a blocking syscall , issue this I / O request in a non-blocking way and suspend the Fiber , giving other Fiber a chance to run .
有一种方法是在引发一个阻塞的系统调用以前捕捉它,以一种非阻塞的方式来处理这个I/O请求,然后挂起这个纤程,给另外的纤程运行的机会。
-
The Go language on Google App Engine is a subset of the full Go language , avoiding the unsafe and syscall libraries , but including AppEngine specific APIs such as DataStore , Blobstore and so on .
GAE上的Go语言是整个Go语言的一个子集,没有unsafe和syscall库,但是包括了AppEngine特定的API,比如DataStore、Blobstore等等。