Re: getting a programs ENV via ptrace ?

Russell King (rmk@arm.linux.org.uk)
Mon, 29 Apr 2002 09:38:04 +0100


On Mon, Apr 29, 2002 at 10:25:55AM +0200, Soeren Sonnenburg wrote:
> I am looking for a way of getting the environment variables of a running
> process.

/proc/<pid>/environ

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.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/