• 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: Process name from PID inside kernel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process name from PID inside kernel?


  • Subject: Re: Process name from PID inside kernel?
  • From: Andrew Gallatin <email@hidden>
  • Date: Tue, 31 Oct 2006 06:06:40 -0500 (EST)

Rick Mann writes:
 > I found a hacked way to get the PID inside my kext, which is fragile,
 > but works for now. Now I'd like to get the name of that process. I've

You want proc_selfname() if it is the current process, otherwise
proc_name()..

Drew
 _______________________________________________
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: 
 >Process name from PID inside kernel? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Getting the current PID inside kext?
  • Next by Date: Determining volume for a vnode inside a kauth listener?
  • Previous by thread: Re: Process name from PID inside kernel?
  • Next by thread: Determining volume for a vnode inside a kauth listener?
  • Index(es):
    • Date
    • Thread