From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431Ab0AYVCU (ORCPT ); Mon, 25 Jan 2010 16:02:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752624Ab0AYVCU (ORCPT ); Mon, 25 Jan 2010 16:02:20 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:44984 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752384Ab0AYVCT (ORCPT ); Mon, 25 Jan 2010 16:02:19 -0500 From: Andreas Schwab To: Dimitry Golubovsky Cc: linux-kernel@vger.kernel.org Subject: Re: mmap a /proc//mem file? References: X-Yow: I wonder if I could ever get started in the credit world? Date: Mon, 25 Jan 2010 22:02:17 +0100 In-Reply-To: (Dimitry Golubovsky's message of "Mon, 25 Jan 2010 15:42:55 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dimitry Golubovsky writes: > Say I have a parent and a child processes. Can the parent process > access the child process memory using mmap() over /proc//mem file > where 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."