no , i want for examble read a one byte at address current->mm->start_code; how have to do? hi ----- Original Message ----- From: "Christine Ames" <clgisotti@yahoo.com> To: "R!SC" <risc54@inwind.it>; <kernelnewbies@nl.linux.org> Sent: Tuesday, July 09, 2002 9:55 PM Subject: Re: read a byte from memory > --- R!SC <risc54@inwind.it> wrote: > > > > i want read a virtual memory of one prcess > > i can't use the kmem or mem > > > > > ----- Original Message ----- > > > From: "Dark Angel" <dark0@angelfire.com> > > > To: "R!SC" <risc54@inwind.it> > > > > > > > >how am able read a byte from the >memory,in kernel Space? > > > > > > > > Read from /dev/kmem or /dev/mem > > > > > > You want to read a byte of memory owned by a user-land process from > the kernel? Maybe copy_from_user() is what you want. > > See http://www.xml.com/ldd/chapter/book/ch03.html#t8. > > Harmony, > > --Christine > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/