Walking the task list from a kext
Walking the task list from a kext
- Subject: Walking the task list from a kext
- From: "Yount, Chuck" <email@hidden>
- Date: Thu, 1 Feb 2007 07:10:09 -0700
- Thread-topic: Walking the task list from a kext
Title: Walking the task list from a kext
Hi,
Does someone have a piece of code that will walk the list of tasks from a kext? I can call current_task(), which I know returns a pointer to the task struct that contains the prev and next pointers, but the struct is apparently not available outside the kernel itself. Anyone know how to traverse the list cleanly?
BTW, ultimately what I need is a list of all processes, the modules loaded by each one, and their virtual address ranges.
Thanks,
Chuck
_______________________________________________
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