There is no supported API for accessing information about loaded kexts. If you need one, please file a bug report.
-Andrew On Oct 1, 2010, at 6:39 AM, nithesh salian wrote: Kexstat is command line tool for accessing the loaded module info.
However, I have to access the information inside a user level application. How can i do that? Are there any interfaces supported in Snow leopard.
kmod_get_info also doesnt work on Snow Leopard. Kindly help.
On Wed, Sep 29, 2010 at 6:54 PM, Alexander von Below <email@hidden> wrote:
kextstat 8
I would just pipe and parse that. That way you are completely independent of the system you are running on.
For more details, look in http://opensource.apple.com/source/IOKitUser/IOKitUser-502.0.3/kext.subproj/OSKext.c
As an aside: A lot of people read darwin-dev AND darwin-drivers. Please do NOT crosspost
Alex
Am 29.09.2010 um 15:14 schrieb nithesh salian:
> Hi,
>
> Can someone please let me know the APIs to retrieve the information about loaded kernel extensions like module name, version etc in Snow Leopard?
>
> Regards,
> Nithesh Gangadhar Salian
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-drivers mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
-- Regards, Nithesh Gangadhar Salian
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
|