diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2022-11-16 12:49:19 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:35:11 +0000 |
commit | 3fc71955c34506bcc3aaaaa38fd2709f1d0db39c (patch) | |
tree | d889a6ef9844d44c572578b572195719dea5baec /scripts/lib/devtool/runqemu.py | |
parent | 39e2c09f4a2ef6aa34f3c830a9eefd6b387dfd2d (diff) | |
download | poky-3fc71955c34506bcc3aaaaa38fd2709f1d0db39c.tar.gz |
qemu-helper-native: Correctly pass program name as argv[0]
The previous version of this wasn't correctly passing the program name
as argv[0], and was also over-complicated anyway because argv[] is
guaranteed to be terminated with a NULL pointer, so it can be passed
directly to the execv'd process without needing to be copied.
(From OE-Core rev: 25edeac14bf7c68111b9880e1367b3c981d59ea0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6edf38add3c20c44efe0588e2815bb280d22e0c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions