communication between a kernel module and a user space process

Submitted by phunkie
on April 28, 2007 - 10:27am

hello,

i'm making a kernel module that does a few things. for that i had to trap the execve system call, which i've doen successfully. now the problem is that i need to set up a proper communication channel between the kernel module and a user space application(which will be spawned by the module itself). for that i have to use message queues in the kernel module. would any one tell me how do i do that?