Getting a task_t via PID from IOKit driver
Getting a task_t via PID from IOKit driver
- Subject: Getting a task_t via PID from IOKit driver
- From: Nicoló Blasi <email@hidden>
- Date: Sat, 09 Jul 2016 01:44:35 +0200
Hi, is there a (somewhat) clean way to get a task_t structure for a userland task from its PID, from an IOKit driver?
I just need a way to access a userland task from my userclient, so I can manipulate that task address space from kernel.
I know this is a terrible idea and should not be done in any case, but I am just experimenting and do not plan to release this driver publicly for any serious purpose.
task_for_pid mach trap is not available for use, from what I have seen.
_______________________________________________
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