can I input a gate service to kernel to get kernel data to user ?
horse_rivers
horse_rivers at 126.com
Thu Dec 13 19:59:48 EST 2012
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
More information about the Kernelnewbies
mailing list