Search code examples
c++objective-ccocoakerneldevice-driver

Loading Preferences in to a Mac Kernel Extension


Greetings!

I am working on a kernel extension driver for OSX. It is a simple keyboard filter. I have preferences that are set through a preference pane regarding how this filter will act. I need to take the preferences from this preference pane and load them in to the kernel extension.

I have googled all over and haven't found anything regarding how to do this.

Is there a way to load a plist in to a preference pane? Perhaps into an OSDictionary or something? Or, what would be the best way to get preferences from my preference pane into my kext?

Thanks!


Solution

  • Looks like this is exactly what I am looking for:

    Kext Controls and Notifications

    Excellent.