Re: Reading userland environnement from the kernel

2002-02-15 Thread Andy Sporner
Hi Terry (and others!) You seem to know a lot about the kernel (as you always expand on my "Cliff Notes" versions of my answers). Can you give me any hints on the device driver question I posted a few days ago. There was a response, however I don't see how it applies for these reasons. 1.

Re: Reading userland environnement from the kernel

2002-02-15 Thread Terry Lambert
Sansonetti Laurent wrote: > Hi hackers, > > Is there a way to read user-land environ(7) table from the kernel for a > given process ? Yes and no, or we'd already have implemented variant symbolic links. The problem is manifold: 1) The environment is pointed to by the environ ** po

RE: Reading userland environnement from the kernel

2002-02-15 Thread Andy Sporner
Hi, > > Is there a way to read user-land environ(7) table from the kernel for a > given process ? You have to look at the "proc" structure for a process and there you will find a buffer for the 'ps_strings' and a few offset variables to show where the environment variables are. Andy > > Chee

Re: Reading userland environnement from the kernel

2002-02-15 Thread David Malone
On Fri, Feb 15, 2002 at 02:15:34PM +, Sansonetti Laurent wrote: > Is there a way to read user-land environ(7) table from the kernel for a > given process ? Does 'ps -auxwwwe' do what you want? David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" i