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

Any way to get PID of kauth FILEOP auth requestor?


  • Subject: Any way to get PID of kauth FILEOP auth requestor?
  • From: Rick Mann <email@hidden>
  • Date: Mon, 30 Oct 2006 19:59:33 -0800

Is there any way to get the process ID of of the process attempting to conduct a FILEOP from within the kauth listener? I have credentials and a vnode, but it doesn't look like the credentials carry the PID information, and I've already looked into getting the PID from a vnode.

While I believe the vnode's v_owner field will hold the current_thread, there's no way, that I can find, to get the PID from this.

TIA,

--
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
  • Follow-Ups:
    • Re: Any way to get PID of kauth FILEOP auth requestor?
      • From: Quinn <email@hidden>
  • Prev by Date: Re: creation date vs ctime
  • Next by Date: Getting the current PID inside kext?
  • Previous by thread: Re: cp creates directory with different permissions -- then reverts them
  • Next by thread: Re: Any way to get PID of kauth FILEOP auth requestor?
  • Index(es):
    • Date
    • Thread