From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri9Nb-0000u4-PK for qemu-devel@nongnu.org; Tue, 03 Jan 2012 13:46:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri9NV-0006G0-BH for qemu-devel@nongnu.org; Tue, 03 Jan 2012 13:46:35 -0500 Received: from mail-gy0-f173.google.com ([209.85.160.173]:47535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri9NV-0006Ft-5N for qemu-devel@nongnu.org; Tue, 03 Jan 2012 13:46:29 -0500 Received: by ghbg16 with SMTP id g16so6514760ghb.4 for ; Tue, 03 Jan 2012 10:46:28 -0800 (PST) MIME-Version: 1.0 Sender: lxnay@sabayonlinux.org In-Reply-To: References: <1325605408-16401-1-git-send-email-lxnay@sabayon.org> <9C571929-67D3-45BD-A498-172280E90E08@suse.de> Date: Tue, 3 Jan 2012 19:46:27 +0100 Message-ID: From: Fabio Erculiani Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: riku.voipio@iki.fi, qemu-devel@nongnu.org How about setting ts->bprm->argv = target_argv; ? I'm not a qemu codebase expert, but if it's always NULL (why is it NULL?) or can be NULL... It looks like can be done easily from main.c... without making a variable global. -- Fabio Erculiani