Re: Hopefully a simple question on /proc/pid/mem

Benjamin C.R. LaHaise
2001-04-30T19:02:40Z

On Mon, 30 Apr 2001, Alexander Viro wrote:

> I wonder what's wrong with reading from /proc/<pid>/mem, though - it's
> using the same code as ptrace.

We can actually do this cleanly now that we have proper page_dirty
semantics for raw io. The original reason for disabling /proc/*/mem was
that it left big gaping holes in the mm code in 2.0, and it hasn't been
repaired since.

-ben