summaryrefslogtreecommitdiff
path: root/tests/stack_protector_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-02-14 14:37:34 -0800
committerElliott Hughes <enh@google.com>2013-02-14 14:37:34 -0800
commitfb7eb5e07f43587c2bedf2aaa53b21fa002417bb (patch)
tree2854e0357877216fe1d7e8722085a561b22b123b /tests/stack_protector_test.cpp
parentc2d26ce7452e69b9492cd28b7c0271866798658b (diff)
Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces.
Bug: 2487269 Change-Id: Iec5e470fc22cd9108404f634a9d4baa2c7b7f58f
Diffstat (limited to 'tests/stack_protector_test.cpp')
-rw-r--r--tests/stack_protector_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stack_protector_test.cpp b/tests/stack_protector_test.cpp
index 664a11e7b..97d5ad62e 100644
--- a/tests/stack_protector_test.cpp
+++ b/tests/stack_protector_test.cpp
@@ -36,7 +36,7 @@ pid_t gettid() { return syscall(__NR_gettid); }
#ifdef __i386__
-// For x86, bionic and glibc have per-thread stack guard values.
+// For x86, bionic and glibc have per-thread stack guard values (all identical).
static uint32_t GetGuardFromTls() {
uint32_t guard;