discuss-gnustep
[Top][All Lists]
Advanced

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

Re: kvm problem with FreeBSD


From: Adam Fedor
Subject: Re: kvm problem with FreeBSD
Date: Fri, 6 Aug 2004 08:52:12 -0600


On Aug 6, 2004, at 5:05 AM, Pete French wrote:

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 ?


the configure.ac modification I made recently, specifically tests that kvm_open works, and drops kvm support if it does not. If the other kvm calls do not work, then there may need to be addition configure tests or some rearrangement of the NSProcessInfo code.





reply via email to

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