Patent ID: 7720671

Claim:
A method for emulating a system call, comprising: making the system call by a first process in a first operating system (OS) for interacting with a second process, wherein the first OS is emulated in a second OS, wherein the second OS requires a parent-child process relationship between the first process and the second process to perform the system call, and wherein the parent-child process relationship between the first process and the second process is nonexistent in the first OS and in the second OS; spawning, in response to the system call, an agent process by an emulator to emulate the system call, wherein the agent process is a child process of the first process; calling, by the agent process, a general mechanism on the second process, wherein the general mechanism implements a functionality of the system call in the second OS; passing a result from the second process to the agent process using the general mechanism; and relaying the result from the agent process to the first process using a system call in the second OS, wherein the result is stored by the first process.