Download settings to Mac kernel extension

Hello!

I am working on a kernel extension driver for OSX. This is a simple keyboard filter. I have settings that are set through the preferences panel as to how this filter will work. I need to take preferences from this preference area and load them into the kernel extension.

I have googled all over the place and have not found anything about how to do this.

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

Thanks!

+4
source share
3 answers

This seems to be exactly what I'm looking for:

Kext Controls and Notifications

Excellent.

0
source

The source code for this project will help you. It uses sysctl to communicate between the pref panel and kext.

+1
source

Instead of extending the kernel, you can take a look at Quartz Event Services , as it is designed to filter user events.

0
source

All Articles