Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 8 Mar 2001 03:45:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 8 Mar 2001 03:45:47 -0500 Received: from cisco7500-mainGW.gts.cz ([194.213.32.131]:2564 "EHLO bug.ucw.cz") by vger.kernel.org with ESMTP id ; Thu, 8 Mar 2001 03:45:33 -0500 Date: Wed, 7 Mar 2001 18:17:23 +0000 From: Pavel Machek To: Marcelo Tosatti Cc: Alexander Viro , Jeremy Elson , linux-kernel@vger.kernel.org Subject: Re: Mapping a piece of one process' addrspace to another? Message-ID: <20010307181722.E55@(none)> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from marcelo@conectiva.com.br on Wed, Mar 07, 2001 at 03:02:14AM -0300 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > You are reinventing the wheel. > > man ptrace (see PTRACE_{PEEK,POKE}{TEXT,DATA} and PTRACE_{ATTACH,CONT,DETACH}) > > With ptrace data will be copied twice. As far as I understood, Jeremy > wants to avoid that. mmap /proc/pid/memory? Pavel -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/