> 
> It looks up _environ, and uses that if it is found.
>  pr_envp is only used
> f the lookup fails.
> 

You can look up symbols in the proc_t from kernel? That is interesting, I will 
try that too, could be a useful thing to know. I don't want it to be accurate, 
I just want to see if I can make it work.

I have been going over the procfs code, but it don't seem to care too much 
about _environment, but some lookups of "u_envp" by casting them to 
(caddr32_t). Perhaps that is my issue as I left them as defined (uintptr64_t)
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to