[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1209445616.18023.133.camel@pasglop>
Date: Tue, 29 Apr 2008 15:06:56 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Rik van Riel <riel@...hat.com>
Cc: David Miller <davem@...emloft.net>, roland@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: PTRACE_{READ,WRITE}{TEXT,DATA}
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists