[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kvm problem with FreeBSD
From: |
stefan |
Subject: |
Re: kvm problem with FreeBSD |
Date: |
Fri, 6 Aug 2004 16:15:31 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.3a-1 |
Hi,
> Umm, we *are* using kvm_getargv() !
Yes, but what fails is the kvm_getenvv call.
> Anyway, I just went and took a look at the code, adn there is a comment
> at the top along the lines of:
>
> /*
> * Use the kvm library to open the kernel and read the environment and
> * arguments. As we are not running as root we cannot open the memory
> * device and thus we fake it using /dev/null. This is allowed under
> * FreeBSD, but may fail on other operating systems which check the
> * file type. The kvm calls used are those which are supposedly backward
> * compatible with Solaris rather than being FreeBSD specific
> */
>
> It might be that FreeBSD 5 is checking the file type of the memory
> device and thus failing as it does on Solaris ?
I can write a little test program when i'm at home. As mentioned before,
the problem occured after i updated gnustep from cvs last night. I disabled
kvm and now it works, what makes me wondering. I guess the proc system
is used when kvm is not used? Seems somewhat strange to me.
greets
Stefan
- kvm problem with FreeBSD, stefan, 2004/08/06
- AW: kvm problem with FreeBSD, Chris B. Vetter, 2004/08/06
- Re: AW: kvm problem with FreeBSD, stefan, 2004/08/06
- Re: kvm problem with FreeBSD, Chris B. Vetter, 2004/08/06
- Re: kvm problem with FreeBSD, Richard Frith-Macdonald, 2004/08/06
- Re: kvm problem with FreeBSD, stefan, 2004/08/06
- Re: kvm problem with FreeBSD, Pete French, 2004/08/06
- Re: kvm problem with FreeBSD, stefan, 2004/08/06
- Re: kvm problem with FreeBSD, Adam Fedor, 2004/08/06
- Re: kvm problem with FreeBSD, Pete French, 2004/08/06
- Re: kvm problem with FreeBSD,
stefan <=
- Re: kvm problem with FreeBSD, Stefan Kleine Stegemann, 2004/08/17
- Re: kvm problem with FreeBSD, Alex Perez, 2004/08/17
- Re: kvm problem with FreeBSD, Stefan Kleine Stegemann, 2004/08/17
- Re: kvm problem with FreeBSD, Adam Fedor, 2004/08/17
- Re: kvm problem with FreeBSD, Stefan Kleine Stegemann, 2004/08/17
- Re: kvm problem with FreeBSD, Pete French, 2004/08/18
Re: kvm problem with FreeBSD, Pete French, 2004/08/06