• 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
Re: Any way to get PID of kauth FILEOP auth requestor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to get PID of kauth FILEOP auth requestor?


  • Subject: Re: Any way to get PID of kauth FILEOP auth requestor?
  • From: Rick Mann <email@hidden>
  • Date: Tue, 31 Oct 2006 10:33:54 -0800


On Oct 31, 2006, at 02:11 , Quinn wrote:

For the fileop scope, you are guaranteed that the current process is valid. Thus, you can get this using proc_selfpid.

To understand this better, you might want to read the "Context" section of Technote 2127 "Kernel Authorization".

<http://developer.apple.com/technotes/tn2005/tn2127.html>

Thank you, Quinn. This was exactly what I was looking for. And thanks for the other email with the excellent description of the very confusing multitude of headers. That cleared things up nicely.


I'm only using the process name info I get for debugging purposes. The PID is really what I wanted.

--
Rick


_______________________________________________ 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
References: 
 >Any way to get PID of kauth FILEOP auth requestor? (From: Rick Mann <email@hidden>)
 >Re: Any way to get PID of kauth FILEOP auth requestor? (From: Quinn <email@hidden>)

  • Prev by Date: Determining volume for a vnode inside a kauth listener?
  • Next by Date: Re: Determining volume for a vnode inside a kauth listener?
  • Previous by thread: Re: Any way to get PID of kauth FILEOP auth requestor?
  • Next by thread: Getting the current PID inside kext?
  • Index(es):
    • Date
    • Thread