Re: read a byte from memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- 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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux