Hello :), Refer this doc for user and kernel communication methods. Hope it helps :). people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto.html#toc2 Sent from my HTC Excuse for typo. ----- Reply message ----- From: "horse_rivers" <horse_rivers@126.com> Date: Fri, Dec 14, 2012 6:29 am Subject: can I input a gate service to kernel to get kernel data to user ? To: "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org> At 2012-12-13 18:11:24,"Daniel Baluta" <daniel.baluta@gmail.com> wrote:
On Thu, Dec 13, 2012 at 5:17 AM, horse_rivers <horse_rivers@126.com> wrote:
is there method for doing this work? take kernel data to user?
Check copy_to_user [1].
how can user application achive to getting data from kernel , I have no idea about procedure for implementing this quest is there some advice ? BestRegards!
thanks, Daniel.
[1] http://lxr.linux.no/#linux+v3.7/arch/x86/lib/usercopy_32.c#L715
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies