Re: [PATCH v2 42/43] bsd-user: Add '-0 argv0' option to bsd-user/main.c

2021-08-27 Thread Warner Losh
> On Aug 26, 2021, at 10:48 PM, Philippe Mathieu-Daudé wrote: > > On 8/26/21 11:12 PM, i...@bsdimp.com wrote: >> From: Colin Percival >> >> Previously it was impossible to emulate a program with a file name >> different from its argv[0]. With this change, you can run >>qemu -0 fakename r

Re: [PATCH v2 42/43] bsd-user: Add '-0 argv0' option to bsd-user/main.c

2021-08-26 Thread Philippe Mathieu-Daudé
On 8/26/21 11:12 PM, i...@bsdimp.com wrote: > From: Colin Percival > > Previously it was impossible to emulate a program with a file name > different from its argv[0]. With this change, you can run > qemu -0 fakename realname args > which runs the program "realname" with an argv of "fakename

[PATCH v2 42/43] bsd-user: Add '-0 argv0' option to bsd-user/main.c

2021-08-26 Thread imp
From: Colin Percival Previously it was impossible to emulate a program with a file name different from its argv[0]. With this change, you can run qemu -0 fakename realname args which runs the program "realname" with an argv of "fakename args". Signed-off-by: Colin Percival Signed-off-by: W