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: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault.
Date: Tue, 3 Jan 2012 19:28:00 +0100

On 03.01.2012, at 19:08, Fabio Erculiani wrote:

> Or just using linux_binprm->filename with basename()

No, that'd be wrong since argv[0] can be different from the actual file name. 
Also it can be the full path or not depending on what the initiator defined.


Alex




reply via email to

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