Hi...

I hope you don't mind if I cc my reply to kernelnewbies mailing list
too...so that you can get more response..

On Wed, Jul 22, 2009 at 4:03 PM, krushnaal pai<[email protected]> wrote:
> sir,
> how can we send data from kernel space to user application.......

AFAIK, most people use netlink socket. But since it seems that you
want alternative ways....

> also i had an article on that but they have used sockets ,i want one that
> doesnt use sockets

if you mean "send data" as "user space read data from kernel space by
polling certain file descriptor", then you can create /proc or /sys or
debugfs entries, assign the file operation in it. Then when a user
space program read the entry, kernel simply send the data to the
reader.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to