lkml.org 
[lkml]   [1999]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/self/mem


On Thu, 2 Dec 1999, Matan Ziv-Av wrote:

> 4. svgalib allocates a virtual frame buffer (at VBF), and copies the
> physical one to it.
>
> 5. svgalib calls mmap(GM,0x10000,,,proc_self_mem_fd,VBF), so that
> writes at 0x4321xxxx go to the virtual frame buffer, and not to the
> physical one.
>
> Now, step 5 is broken. Is the same result (that of the mmap in
> step 5) achievable by other means?

Yes. Use anonymous mmap on the step 4 and mremap on step 5.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.360 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site