mmap a /proc/<pid>/mem file?

From: Dimitry Golubovsky
Date: Mon Jan 25 2010 - 15:43:05 EST


Hi,

Say I have a parent and a child processes. Can the parent process
access the child process memory using mmap() over /proc/<pid>/mem file
where <pid> is child's pid?

Google search returns that at some time in the past this was not
supported. Is it supported now?

Thanks

--
Dimitry Golubovsky

Anywhere on the Web
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/