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

> 
> Cheers,
> 
> --
> Laurent
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to