[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 1/2] linux-user: improve fake /proc/self/stat
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH v3 1/2] linux-user: improve fake /proc/self/stat making `ps` not segfault. |
Date: |
Tue, 3 Jan 2012 20:49:00 +0100 |
On 03.01.2012, at 20:38, Fabio Erculiani wrote:
> With the current fake /proc/self/stat implementation `ps` is
> segfaulting because it expects to read PID and argv[0] as first and
> second field respectively, with the latter being enclosed between
> backets.
>
> Reproducing is as easy as running: `ps` inside qemu-user chroot
> with /proc mounted.
>
> Signed-off-by: Fabio Erculiani <address@hidden>
Acked-by: Alexander Graf <address@hidden>
Alex