On Fri, 7 Jan 2005 05:19:52 +0000, Christian S.J. Peron <[EMAIL PROTECTED]> wrote: > iirc, kvm_getargv() can (and does first) use a sysctl to retrieve > it's data. kvm_getenvv() requires procfs because > /proc/<pid>/mem is currently the more simpler to read a virtual > memory address in the context of the process. > > We are looking at implementing a similar mechanism to the "argv" > ps_strings for process environment to get rid of the procfs requirement. > > pjd has some work done on this but it has not been committed yet. > Hope this answers your question.
Well .. i noticed that kvm_getargv indeed only seems to use /proc in case that apparently the commandline argument list grows beyond a certain size, as i have been able to establish by trial and error. I guess my question is .. is kvm_getargv INTENDED to use the /proc aproach in cases the command + argument list grows beyond a certain size. Because if that IS the case .. the manpage doesn't reflect this. -- With kind regards, Pascal Hofstee _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"