Callback function from kernel module
From: Anand Moon <hidden>
Date: 2012-11-05 08:08:18
Hi All, Netlink sockets provide simple solution to the problem. please refer this link. http://people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto-3.html section 3.3 Netlink Sockets explain the IPC mechanism to talk to usersapce from the kernel. ? -Anand Moon ________________________________ From: "jeshkumar555 at gmail.com" [off-list ref] To: Mulyadi Santosa <redacted> Cc: kernelnewbies <redacted> Sent: Saturday, November 3, 2012 9:56 PM Subject: Re: Callback function from kernel module hello Mulyadi, As per my design, a userspace application shall call some function in the application ?for each interrupt occur in ?particular kernel module. So what mechanism shall go ? As subramaniam referred kobject, I am going on with it. ( understanding kobject) Sent from my HTC Excuse for typo. ----- Reply message ----- From: "Mulyadi Santosa" <redacted> Date: Sat, Nov 3, 2012 9:42 pm Subject: Callback function from kernel module To: "Jeshwanth Kumar N K Jeshu" <redacted> Cc: "kernelnewbies" <redacted> Hi.. On Sat, Nov 3, 2012 at 8:44 PM, Jeshwanth Kumar N K Jeshu [off-list ref] wrote:
Hello All, Can I call userspace function from kernel module ? Actually I need to process some data in user space for every event occured in kernel module.
user space function or user space program? for later, IIRC you can use usermode_helper... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121105/940085c8/attachment.html