• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Passing per-process information between KAUTH calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Passing per-process information between KAUTH calls
      • From: Slava Imameyev <email@hidden>
    • Re: Passing per-process information between KAUTH calls
      • From: Stan Sieler <email@hidden>
  • Next by Date: Re: Passing per-process information between KAUTH calls
  • Next by thread: Re: Passing per-process information between KAUTH calls
  • Index(es):
    • Date
    • Thread