From: Andreas Schwab <schwab@linux-m68k.org>
To: Dimitry Golubovsky <golubovsky@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmap a /proc/<pid>/mem file?
Date: Mon, 25 Jan 2010 22:02:17 +0100 [thread overview]
Message-ID: <m2zl417vae.fsf@igel.home> (raw)
In-Reply-To: <bcba51a1001251242q1478b506k92a1ac86967e1524@mail.gmail.com> (Dimitry Golubovsky's message of "Mon, 25 Jan 2010 15:42:55 -0500")
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."
prev parent reply other threads:[~2010-01-25 21:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-25 20:42 mmap a /proc/<pid>/mem file? Dimitry Golubovsky
2010-01-25 21:02 ` Andreas Schwab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2zl417vae.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=golubovsky@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox