[Top][All Lists]
[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
- [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Fabio Erculiani, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Fabio Erculiani, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Alexander Graf, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Alexander Graf, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Fabio Erculiani, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Fabio Erculiani, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Alexander Graf, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Fabio Erculiani, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Alexander Graf, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Fabio Erculiani, 2012/01/03
- Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault., Alexander Graf, 2012/01/03