METHOD AND APPARATUS FOR IMPLEMENTING BATCH SYSTEM CALL

    公开(公告)号:US20230376289A1

    公开(公告)日:2023-11-23

    申请号:US18365312

    申请日:2023-08-04

    CPC classification number: G06F8/42

    Abstract: This application discloses a method and a related apparatus for implementing a batch system call. The method includes: loading an executable program to a user-mode virtual address space, where the executable program is obtained by compiling source code of the batch system call, and includes abstract syntax tree AST data of the batch system call; and invoking a first instruction to invoke a kernel to generate, based on the AST data in the user-mode virtual address space, binary code that is used to implement the batch system call. Because there is difficulty in inserting malicious data into such a data structure as the AST, it is difficult to insert malicious code into the binary code of the batch system call, so as to avoid an error or an excessively long delay caused by the malicious code when the kernel runs the binary code of the batch system call, thereby improving security of the batch system call.

Patent Agency Ranking