Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Apr 2002 04:37:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Apr 2002 04:37:34 -0400 Received: from pat.uio.no ([129.240.130.16]:4509 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id ; Mon, 29 Apr 2002 04:37:34 -0400 To: Soeren Sonnenburg Cc: linux-kernel@vger.kernel.org Subject: Re: getting a programs ENV via ptrace ? In-Reply-To: <1020068756.5050.7.camel@sun> From: Trond Myklebust Date: 29 Apr 2002 10:37:26 +0200 Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> " " == Soeren Sonnenburg writes: > Hi... I am looking for a way of getting the environment > variables of a running process. cat /proc//environ | tr '\0' '\n' Cheers, Trond - 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/