Re: Process virtual address space
Re: Process virtual address space
- Subject: Re: Process virtual address space
- From: "Manu ." <email@hidden>
- Date: Wed, 28 Oct 2015 18:53:40 -0700
Windows provides API in the kernel so that you can read and write a process memory. Pretty sure that OS X does the same. The proc_t contains a map for the task. IIRC, Windows contains readily available data on the stack regarding the parameters for faster lookup.
I haven't done any kernel work for about a year so I don't remember the specifics. You might want to look at copyin / copyout functions.
On Oct 28, 2015 18:41, Prokash Sinha <email@hidden> wrote:
Folks,
I just saw in osx internal book ( by Levin), that in 64bit indeed the kernel space is shared mapped, like Windows and Linux.
So that was the confusion.
Correct me if I’m wrong, please.
What would happen if the process is 32 Mach-O ? Would there be some thunk layer, that would make it as if the process virtual address space is shared.
Thanks,
Prokash
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden