diff options
author | Colin Percival | 2021-08-07 22:34:21 +0200 |
---|---|---|
committer | Warner Losh | 2021-09-10 22:13:06 +0200 |
commit | b8012648b38274aa996f1477c422a79e2d44110b (patch) | |
tree | a02def877fc4d15d5afef2b194b9f02a5474c6a3 /bsd-user/netbsd | |
parent | bsd-user: Implement interlock for atomic operations (diff) | |
download | qemu-b8012648b38274aa996f1477c422a79e2d44110b.tar.gz qemu-b8012648b38274aa996f1477c422a79e2d44110b.tar.xz qemu-b8012648b38274aa996f1477c422a79e2d44110b.zip |
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 'bsd-user/netbsd')
0 files changed, 0 insertions, 0 deletions