summary refs log tree commit diff stats
path: root/mailinglist/output_launchpad/1738771
diff options
context:
space:
mode:
Diffstat (limited to 'mailinglist/output_launchpad/1738771')
-rw-r--r--mailinglist/output_launchpad/173877123
1 files changed, 23 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1738771 b/mailinglist/output_launchpad/1738771
new file mode 100644
index 00000000..dbd7f0e5
--- /dev/null
+++ b/mailinglist/output_launchpad/1738771
@@ -0,0 +1,23 @@
+qemu user does not provide AT_SECURE auxiliary vector entry
+
+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://dl.google.com/android/repository/sys-img/google_apis/sysimg_x86-21_r15.zip
+unzip sysimg_x86-21_r15.zip
+mount -o loop x86/system.img system
+qemu-i386 -L /tmp/android/ system/bin/ls
+
+
+I've provided a patch (https://lists.gnu.org/archive/html/qemu-devel/2017-10/msg03667.html) to fix the issue, but it was not reviewed yet.
+
+A patch to add AT_SECURE went in and was released in QEMU 2.12.
+
+