Patents
US 7,475,398 B2#3070797 Most CitedExpiredUnited States (USPTO)Utility

System and method for implementing a smart system call

25Forward Citations (#3070797 Global)
1.5/yrCitation Velocity (#3674341 Global)
3.16Citation PageRank (#6954510 Global)
9Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

According to the present invention, a “smart system call” may be implemented. The smart system call employs a code “stub” that is used to make function calls to privileged memory locations. The code stub includes facilities to determine the current mode of execution (e.g., privileged, unprivileged), and where the current mode is sufficiently trusted, allows a direct access to the desired memory address. If the current mode is not sufficiently trusted (e.g., unprivileged), an alternate indirect system call mechanism may be employed, such as an interrupt-based, exception-based, or hardware-assisted system call. Additionally, the smart system call permits selection of a system call method based on processor type, which may be used, for example, for porting to processor architectures which support specialized hardware-assisted system call instructions.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 25.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: identifying a program code segment implementing an access to a memory area to be executed within a privileged processing mode; replacing the program code segment with a substitute code segment; wherein the substitute code segment includes program code to identify a current processing mode of the program code segment, execute a direct program flow control instruction if the current processing mode is the privileged processing mode, and execute an indirect program flow control instruction if the current processing mode is an unprivileged processing mode.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗