• 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: kext version handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kext version handling


  • Subject: Re: kext version handling
  • From: Luciano <email@hidden>
  • Date: Thu, 24 Jun 2010 13:58:12 +0200

On Wednesday 23 June 2010 17:33, Michael Smith wrote:

>
> You would normally expose a UserClient from your kext.  Pick a constant
> method index (0 is a fine choice) and have it return a version number.
>
> Alternatively, set a property on the device containing the version number;
> you can do this passively by having the version number in the driver's
> personality dictionary, where it can be filled in by Xcode at build time.
>
>  = Mike
>

Hi Mike,

thank you for you answer! But in my case the kext is not implemented by means
of the IOKit. Its a pure C kext (I use it to intercept file accesses via
Kauth) that communicates with userland by means of control sockets. So I
guess I cant use the IOKit facilities, right? What possibilities exist for a
kext written in C to expose its version number? Should I use the "Bundle
version" number? And if so, how can I retrieve it from my userspace library?

Thx for your help in advance!

Best regards,
Luciano
 _______________________________________________
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

  • Prev by Date: Re: Process exit notifcation in a kext
  • Next by Date: Re: problem calling Mach RPC function
  • Previous by thread: Re: kext version handling
  • Next by thread: ptrace / task_for_pid / pid_suspend
  • Index(es):
    • Date
    • Thread