In OS X there is an API called KUNC (Kernel-User Notification Center)
This API is used by the kernel (typically a kext) when it wants to display notification to users or launch userland command.
Continue reading
[How-to] Execute an user program from the kernel mode
Reply