qemu user does not provide AT_SECURE auxiliary vector entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When executing an android native binary using qemu in user mode, the program fail with the message
FATAL: kernel did not supply AT_SECURE
Android uses bionic libc.The linker requires that AT_SECURE is provided in the auxiliary vector, but qemu does not provide the entry.
The issue can be reproduced using the commands:
mkdir -p /tmp/android/system
cd /tmp/android
curl -O https:/
unzip sysimg_
mount -o loop x86/system.img system
qemu-i386 -L /tmp/android/ system/bin/ls
I've provided a patch (https:/
A patch to add AT_SECURE went in and was released in QEMU 2.12.