Re: Remote execution of syscalls (was Re: Syscall from Kernel Space)

Prasad (prasad_s@students.iiit.net)
Tue, 25 Feb 2003 09:27:30 +0530 (IST)


On 24 Feb 2003, H. Peter Anvin wrote:
> >
> > coming to whats happening... lets see it this way... Theres a process (x)
> > that is migrated to some other node. Now any syscall that the process (X)
> > makes is to be shipped back to the originating node. Say i have a user
> > thread (Y) running and receiving requests for syscall executions. And now
> > if i execute a syscall, the syscall will be executed as of (Y) is
> > executing it, but i want the syscall to run as if (X) is executing it!
> > The process (X) still exists on the originating system, but is idle.
> >
>
> Sounds like you should let the otherwise-idle process X be the thread
> that waits for the connection and issues system calls. This is
> basically RPC.
>

but again... in this case i got to replace the loaded executable by one
that accepts the connections while maintaining the mmap, the open files.
Can someone suggest me how this could be done... I am totally unaware of
stuff like this.

Prasad.

-- 
Failure is not an option

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/