qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making


From: Fabio Erculiani
Subject: Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault.
Date: Tue, 3 Jan 2012 19:04:10 +0100

On Tue, Jan 3, 2012 at 6:41 PM, Alexander Graf <address@hidden> wrote:
>
> On 03.01.2012, at 17:07, Fabio Erculiani wrote:
>
>> ts->bprm->argv seems NULL here.
>> Isn't it supposed to be set?
>
> Good question. Maybe we need some other way to fetch argv0 then?

or we could leave just an empty string for now -> "()" on the second
field of self/state.
That seems to work with ps as well.
Considering that the whole file doesn't bring any useful info other
than the stack base and pid, we might just wait the next round of
segfaults ;-)

>
>
> Alex
>



-- 
Fabio Erculiani



reply via email to

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