lkml.org 
[lkml]   [2008]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PTRACE_{READ,WRITE}{TEXT,DATA}
From
Date

> Strange, changing access_process_vm on Fedora 9 made gdb able to
> see video memory that the X server had mmapped.
>
> Are you sure gdb behaves as you suggest?
>
> On x86 my patch seems to work as I expected...

Because /proc/<pid>/mem also uses access_process_vm(). See
fs/proc/base.c

Cheers,
Ben.




\
 
 \ /
  Last update: 2008-04-29 07:09    [W:0.662 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site