[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m2zl417vae.fsf@igel.home>
Date: Mon, 25 Jan 2010 22:02:17 +0100
From: Andreas Schwab <schwab@...ux-m68k.org>
To: Dimitry Golubovsky <golubovsky@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: mmap a /proc/<pid>/mem file?
Dimitry Golubovsky <golubovsky@...il.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@...ux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
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