lkml.org 
[lkml]   [2010]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: mmap a /proc/<pid>/mem file?
Date
Dimitry Golubovsky <golubovsky@gmail.com> writes:

> 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?

Only if the parent is the tracer of the child.

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."


\
 
 \ /
  Last update: 2010-01-25 22:05    [W:0.049 / U:1.924 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site