can I input a gate service to kernel to get kernel data to user ?

Matthias Brugger matthias.bgg at gmail.com
Thu Dec 13 05:52:53 EST 2012


On 12/13/2012 04:17 AM, horse_rivers wrote:
> is there method for doing this work? take kernel data to user?

I think copy_to_user is what you are looking for:
http://lxr.free-electrons.com/source/include/asm-generic/uaccess.h#L253

Cheers,
Matthias

>
>
> thanks!
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>




More information about the Kernelnewbies mailing list