This patch will be useful, but there is a security problem in its
current form. The qemu-user-static package installs binfmt-misc
entries with flags: OC, which makes the binary honor setuid bits.
Regardless of whether it is a good idea or not, the envvars ought to
be ignored in such a case.
Rework option parsing code for linux-user in a table-driven manner to allow
environment variables for all commandline options.
Also generate usage() output from option table.
Fix complains from checkpatch.pl, also have envlist global
Signed-off-by: Johannes Schauer j.scha...@email.de
---
On 31 July 2011 22:40, Johannes Schauer j.scha...@email.de wrote:
Rework option parsing code for linux-user in a table-driven manner to allow
environment variables for all commandline options.
Also generate usage() output from option table.
Thanks for this, it looks good. A couple of minor
From: Johannes Schauer j.scha...@email.de
A first try to introduce a generic setup for mapping environment variables to
command line options.
I'm afraid to code something for platforms I can't do runtime tests on, so this
is only for linux-user for now.
Signed-off-by: Johannes Schauer
Rework option parsing code for linux-user in a table-driven manner to allow
environment variables for all commandline options.
Also generate usage() output from option table.
Signed-off-by: Johannes Schauer j.scha...@email.de
---
linux-user/main.c | 518
5 matches
Mail list logo