Re: can I input a gate service to kernel to get kernel data to user ?
jeshkumar555@gmail.com
jeshkumar555 at gmail.com
Thu Dec 13 20:50:33 EST 2012
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 at 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 at kernelnewbies.org" <kernelnewbies at kernelnewbies.org>
At 2012-12-13 18:11:24,"Daniel Baluta" <daniel.baluta at gmail.com> wrote:
>On Thu, Dec 13, 2012 at 5:17 AM, horse_rivers <horse_rivers at 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 at kernelnewbies.org
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________
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/20121214/b6d2fd63/attachment.html
More information about the Kernelnewbies
mailing list