At 2012-12-13 18:52:53,"Matthias Brugger" <matthias.bgg@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> > > >_______________________________________________ >Kernelnewbies mailing list >Kernelnewbies@xxxxxxxxxxxxxxxxx >http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies