summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-30 11:15:32 -0700
committerElliott Hughes <enh@google.com>2014-05-30 11:15:32 -0700
commitee9d5bdd950bb05549bddc614c3c5ce9d10a5b08 (patch)
treef11f90b3aaaa814368ad07bcf94c9645256eb09f
parent1672b0563693eaaf92db4f304308d456a6102e64 (diff)
downloadbionic-ee9d5bdd950bb05549bddc614c3c5ce9d10a5b08.zip
bionic-ee9d5bdd950bb05549bddc614c3c5ce9d10a5b08.tar.gz
bionic-ee9d5bdd950bb05549bddc614c3c5ce9d10a5b08.tar.bz2
x86: stop unwinding past __bionic_clone.
The apparent "previous" frame is on another thread's stack. Bug: 14270816 Bug: 15195760 Change-Id: I884f370e116203c5fa3b05a75fb8f356537261c4
-rw-r--r--libc/arch-x86/bionic/__bionic_clone.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/arch-x86/bionic/__bionic_clone.S b/libc/arch-x86/bionic/__bionic_clone.S
index af6ef19..7c972de 100644
--- a/libc/arch-x86/bionic/__bionic_clone.S
+++ b/libc/arch-x86/bionic/__bionic_clone.S
@@ -38,6 +38,8 @@ ENTRY(__bionic_clone)
jmp .L_bc_return
.L_bc_child:
+ # We don't want anyone to unwind past this point.
+ .cfi_undefined %eip
call __bionic_clone_entry
hlt