commit | 1801db3d3fe17df543e721b9fb355e5c882dc6cc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jun 08 18:04:00 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jun 09 20:10:25 2015 -0700 |
tree | 0da1044f0e048558d86d74ea9414cb867e43af51 | |
parent | 1cfbd94a2f40743757cdecd51cfa3e3ab545a5c5 [diff] [blame] |
Statically linked executables should honor AT_SECURE. Bug: http://b/19647373 Change-Id: I10e7682d9cec26a523f1a3597ca5326c3ca42ebe
diff --git a/libc/bionic/libc_init_static.cpp b/libc/bionic/libc_init_static.cpp index bc11f3d..7794fbe 100644 --- a/libc/bionic/libc_init_static.cpp +++ b/libc/bionic/libc_init_static.cpp
@@ -91,6 +91,7 @@ structors_array_t const * const structors) { KernelArgumentBlock args(raw_args); __libc_init_tls(args); + __libc_init_AT_SECURE(args); __libc_init_common(args); apply_gnu_relro();