diff options
author | Colin Percival <cperciva@tarsnap.com> | 2021-08-07 14:34:21 -0600 |
---|---|---|
committer | Warner Losh <imp@bsdimp.com> | 2021-09-10 14:13:06 -0600 |
commit | b8012648b38274aa996f1477c422a79e2d44110b (patch) | |
tree | a02def877fc4d15d5afef2b194b9f02a5474c6a3 /roms/config.vga-ati | |
parent | 63cca1067ac70df2d71c0064f7bf53e19334223c (diff) |
bsd-user: Add '-0 argv0' option to bsd-user/main.c
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 <cperciva@tarsnap.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'roms/config.vga-ati')
0 files changed, 0 insertions, 0 deletions