discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kvm problem with FreeBSD


From: Pete French
Subject: Re: kvm problem with FreeBSD
Date: Fri, 06 Aug 2004 12:05:23 +0100

> What is the appropriate standard library call to obtain the process
> arguments under BSD?  If we know that, and can get the configure
> script to recognize when this call is available, we can alter
> NSProcessInfo.m to use this call instead of /proc

I have a feeling we have been here before and I modified NSProcessInfo
approrpiately to use the kvm stuff to do it. The code only ever worked
on FreeBSD though, as you needed to be root to use it on other systems
such as Solaris. I havent tried it under FreeBSD 5.X, only 4.X, so
maybe something has changed in the 5.X API which makes it stop working.

Does FreeBSD 5.X not have a /proc that could be used for this kind of
thing though, rrather than dabbling with those kvm calls ?

-bat.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]