]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu/osdep: Remove the need for qemu_init_auxval
authorRichard Henderson <rth@twiddle.net>
Wed, 30 Apr 2014 20:49:11 +0000 (13:49 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 23 Jun 2014 14:32:27 +0000 (07:32 -0700)
commit2b45c3f5008bf760e628126f0344c1effbee0714
tree03838224e3f7a2ca7995052f5fa557aecf456f3a
parent40d964b563d144cae459c39fd6e3a6cd7b34127a
qemu/osdep: Remove the need for qemu_init_auxval

Instead of getting backup auxv data from the env pointer given to main,
read it from /proc/self/auxv.  We can do this at any time, so we're not
tied to any ordering wrt a call to qemu_init_auxval from main.

Tested-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/qemu/osdep.h
linux-user/main.c
util/getauxval.c
vl.c