Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Apr 2002 06:32:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Apr 2002 06:32:49 -0400 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:12051 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Mon, 29 Apr 2002 06:32:48 -0400 Subject: Re: getting a programs ENV via ptrace ? To: sonnenburg@informatik.hu-berlin.de (Soeren Sonnenburg) Date: Mon, 29 Apr 2002 11:18:09 +0100 (BST) Cc: linux-kernel@vger.kernel.org In-Reply-To: <1020068756.5050.7.camel@sun> from "Soeren Sonnenburg" at Apr 29, 2002 10:25:55 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > I am looking for a way of getting the environment variables of a running > process. > Is this possible by using the ptrace interface somehow ? Take a look at the code to ps - 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/