Re: Passing per-process information between KAUTH calls
Re: Passing per-process information between KAUTH calls
- Subject: Re: Passing per-process information between KAUTH calls
- From: Stan Sieler <email@hidden>
- Date: Wed, 15 Jul 2015 15:52:56 -0700
(possible dup … if it is a dup, blame Yosemite’s Mac Mail :)
I’m interested if there’s an answer for this …
I invented/implemented this (a method for vendors/implementors
to store process local data) for the MPE/V and MPE/iX operating systems
a quarter of a century ago (makes 25 years sound so much longer :)
and I’d be happy to revise it and post it as an enhancement request.
thanks,
Stan Sieler
email@hidden
> On Jul 15, 2015, at 5:42 AM, Misha Pak <email@hidden> wrote:
>
> 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?
_______________________________________________
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