Statically linked executables should honor AT_SECURE.

Bug: http://b/19647373
Change-Id: I10e7682d9cec26a523f1a3597ca5326c3ca42ebe
This commit is contained in:
Elliott Hughes
2015-06-08 18:04:00 -07:00
parent 1cfbd94a2f
commit 1801db3d3f
7 changed files with 209 additions and 311 deletions

View File

@@ -91,6 +91,7 @@ __noreturn void __libc_init(void* raw_args,
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();