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:53:00 EST 2012


At 2012-12-13 18:52:53,"Matthias Brugger" <matthias.bgg at gmail.com> wrote:
>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
>

thanks !

can this function run at user level ?

when programme is   at user level , can  I use this function to get kernel text segment data ,and then analysis it ?

BestRegards!

>Cheers,
>Matthias
>
>>
>>
>> thanks!
>>
>> _______________________________________________
>> 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



More information about the Kernelnewbies mailing list