Re: [PATCH for 6.2 49/49] bsd-user: Add '-0 argv0' option to bsd-user/main.c

2021-08-10 Thread Richard Henderson
On 8/7/21 11:42 AM, Warner Losh 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 args". Signed

[PATCH for 6.2 49/49] bsd-user: Add '-0 argv0' option to bsd-user/main.c

2021-08-07 Thread Warner Losh
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