Process Exit Notification within KEXT
Process Exit Notification within KEXT
- Subject: Process Exit Notification within KEXT
- From: Dave Keck <email@hidden>
- Date: Sat, 27 Feb 2010 03:27:31 -1000
Hey list,
After exhausting all other options, I've determined that I need to
write a KEXT that will take advantage of the Kauth KPIs, which will
tighten the security around a specific process and its children. The
KEXT will be loaded by a daemon process, which will then register
itself with the KEXT as the process needing protection.
My problem is that of robustness: should the daemon crash, ideally the
KEXT would notice and tear down the resources that it held.
Unfortunately I'm not sure it's possible for a KEXT to be notified
when a process exits. I'm pretty certain it's impossible using the BSD
kernel KPIs, but perhaps there's a way with the Mach ones?
Thanks for any insight!
David
_______________________________________________
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