• 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
Getting the current PID inside kext?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the current PID inside kext?


  • Subject: Getting the current PID inside kext?
  • From: Rick Mann <email@hidden>
  • Date: Mon, 30 Oct 2006 21:00:41 -0800

getpid() doesn't seem to be available to a kext (I try to include <unistd.h> but it fails).

Can I use <sys/proc.h> and extern_proc with current_proc() to get at the pid?

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: Getting the current PID inside kext?
      • From: Andrew Gallatin <email@hidden>
    • Re: Getting the current PID inside kext?
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Any way to get PID of kauth FILEOP auth requestor?
  • Next by Date: Re: Getting the current PID inside kext?
  • Previous by thread: Re: Any way to get PID of kauth FILEOP auth requestor?
  • Next by thread: Re: Getting the current PID inside kext?
  • Index(es):
    • Date
    • Thread