On Tue, Dec 12, 2006 at 06:12:24PM +0800, Krishnappa Abhijith-A21204 wrote:
> Ok Thanks. So actually getpid() doesn't cause mode switch.
Sure it does. Any system call does.
> But is it mandatory to execute getpid()? If yes why
That's the way ptrace traditionally works. PTRACE_SYSEMU, which ca
nappa Abhijith-A21204
Cc: User-mode Linux Kernel Development
Subject: Re: [uml-devel] Regarding getpid
On Tue, 12 Dec 2006, Krishnappa Abhijith-A21204 wrote:
> "Process system calls must be nullified in the host, and
> this is done by converting them into getpid. "
>
On Tue, 12 Dec 2006, Krishnappa Abhijith-A21204 wrote:
> "Process system calls must be nullified in the host, and
> this is done by converting them into getpid. "
> How is system calls are nullified by converting them to getpid() ?
Instead of calling the actual system call, it just ca