Passing per-process information between KAUTH calls
Passing per-process information between KAUTH calls
- Subject: Passing per-process information between KAUTH calls
- From: Misha Pak <email@hidden>
- Date: Wed, 15 Jul 2015 15:42:42 +0300
Guys
(Sorry if this has been asked before):
Is there somewhere a place (per-process!!) where I can store some magic data for a particular process when a KAUTH_FILEOP_EXEC action occurs, and then checking that data when I receive some VNODE KAUTH operation?
We need this since we do behavioral decisions based on some criteria set during process startup. We need to have a way for a VNODE KAUTH op. to know whether to do our stuff or not based upon a decision which occurred earlier, when the process was invoked.
I tried looking at some "opaque", user-writable areas in the "proc" struct but to no avail.
So if there is no such placeholder, does anyone have another idea?
Thanks!
Misha
_______________________________________________
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