From: Stefan Weil <weil@mail.berlios.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Cc: Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] Add new user mode option -ignore-environment
Date: Sun, 01 Aug 2010 13:48:24 +0200 [thread overview]
Message-ID: <4C555F08.9060103@mail.berlios.de> (raw)
In-Reply-To: <4C405A1E.6090003@mail.berlios.de>
Am 16.07.2010 15:09, schrieb Stefan Weil:
> Am 16.07.2010 09:04, schrieb Markus Armbruster:
>> Stefan Weil<weil@mail.berlios.de> writes:
>>
>>> An empty environment is sometimes useful in user mode.
>>> The new option provides it for linux-user and bsd-user
>>> (darwin-user still has no environment related options).
>> Stupid question: why is /usr/bin/env insufficient?
>>
>> [...]
>>
>
> In most cases it is sufficient (but not always available - Windows...).
> The options -U and -E are also redundant and can be replaced by
> /usr/bin/env.
>
> But -U and -E exist, so completing the set of environment related
> options seems to be logical. The name of the new option was
> inspired by /usr/bin/env!
>
> And finally, there is a use case where /usr/bin/env is a bad choice:
> just look for "getenv" and you will find one in linux-user/main.c.
> Removing the environment via /usr/bin/env will also remove
> environment variables which are read by qemu's runtime code.
Is there any more feedback on this patch?
Or can it be commited to git master?
next prev parent reply other threads:[~2010-08-01 16:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-15 20:28 [Qemu-devel] [PATCH] Add new user mode option -ignore-environment Stefan Weil
2010-07-16 7:04 ` Markus Armbruster
2010-07-16 13:09 ` Stefan Weil
2010-08-01 11:48 ` Stefan Weil [this message]
2010-08-11 8:45 ` Stefan Weil
2010-09-09 17:30 ` Stefan Weil
2010-09-09 17:34 ` Anthony Liguori
2010-09-09 19:32 ` [Qemu-devel] [PATCH] MAINTAINERS: Add new maintainer for Linux user Stefan Weil
2010-09-09 19:43 ` Andreas Färber
2010-09-09 19:48 ` Stefan Weil
2010-09-09 19:50 ` Stefan Weil
2010-09-09 19:55 ` Anthony Liguori
2010-09-10 8:26 ` [Qemu-devel] [PATCH] Add new user mode option -ignore-environment Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C555F08.9060103@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).