Re: How to get current process executable
Re: How to get current process executable
- Subject: Re: How to get current process executable
- From: Michael Ritter <email@hidden>
- Date: Fri, 12 Feb 2010 21:23:21 +0100 (CET)
- Importance: normal
- Sensitivity: Normal
I ran into the same problem. A means for a kext to retrieve p_textvp would be helpful, no matter whether the result will be always accurate or not.
>Jakub Bednar wrote:
>The Mac OS X Internals book points to p_textvp field of struct proc, but this is not a public API. I have also found a post that says that this field is not even set by exec system calls.
I made a little research. Starting from v10.5 exec seems to update p_textvp correctly.
| GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de |
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden