Re: Passing per-process information between KAUTH calls
(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 sieler@allego.com
On Jul 15, 2015, at 5:42 AM, Misha Pak <darwin-kernel@oktavist.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stan Sieler