System call setting method
The system call setting method comprises the following steps that relevant parameters of an application program are transmitted, and the parameters comprise the level of the application program, an absolute path and an accessible system call name; analyzing the transmitted parameters, and storing th...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The system call setting method comprises the following steps that relevant parameters of an application program are transmitted, and the parameters comprise the level of the application program, an absolute path and an accessible system call name; analyzing the transmitted parameters, and storing the analyzed system call name in a global array; recording a file: storing the analyzed application program and the system call name in the file; acquiring a system call number of the system call name, and storing the system call number in a global array; based on the global array, packaging system calls which can be accessed by the application program into a bpf strategy set; and transmitting the application program and the bpf strategy set corresponding to the application program into a kernel to enable the strategy to take effect. According to the method, multiple system call numbers can be supported to be allowed to be used at the same time for one application program.
系统调用设置方法,包括如下步骤:传入应用程序的相关参数,参数包括:应用程序的级别、绝对路 |
---|