7a3681e5b6c39bc2b3b62031ca5941dbf7bc4e63 |
|
25-Apr-2017 |
Christopher Ferris <cferris@google.com> |
Move libc_log code into libasync_safe. This library is used by a number of different libraries in the system. Make it easy for platform libraries to use this library and create an actual exported include file. Change the names of the functions to reflect the new name of the library. Run clang_format on the async_safe_log.cpp file since the formatting is all over the place. Bug: 31919199 Test: Compiled for angler/bullhead, and booted. Test: Ran bionic unit tests. Test: Ran the malloc debug tests. Change-Id: I8071bf690c17b0ea3bc8dc5749cdd5b6ad58478a
|
a170d9bfc5fd34097a184bb0ca4d2b459fd93bd1 |
|
11-Nov-2016 |
Josh Gao <jmgao@google.com> |
Revert "Revert "Attempt to use arc4random where getauxval(AT_RANDOM) is used."" This reverts commit 60d052dda600f26fdb6180ac1a2c53e97df5a58a. Bug: http://b/27729263 Change-Id: I7f32dc9f9a1f21fda3213f10da940821e1bdd63f
|
60d052dda600f26fdb6180ac1a2c53e97df5a58a |
|
02-Sep-2016 |
Josh Gao <jmgao@google.com> |
Revert "Attempt to use arc4random where getauxval(AT_RANDOM) is used." This reverts commit 78a52f19bb207d1c736f1d5362e01f338d78645f. Change-Id: Ia72501ad0b81e894d67e5ce59b597397c11acfa5
|
78a52f19bb207d1c736f1d5362e01f338d78645f |
|
25-Jun-2016 |
Josh Gao <jmgao@google.com> |
Attempt to use arc4random where getauxval(AT_RANDOM) is used. When arc4random can get entropy (which is true for basically everyone but init on kernels that don't support getrandom), use it instead of AT_RANDOM. Bug: http://b/29622562 Change-Id: I6932803af2c477e65562ff531bd959f199fad1df
|
54f1339d1c745d9d30f0200c332dc76661e75214 |
|
03-Mar-2016 |
Josh Gao <jmgao@google.com> |
Add a checksum to jmp_buf on ARM. Make it easier to diagnose applications mucking with the contents of jmp_buf by checksumming its contents. Bug: http://b/27417786 Change-Id: I9989e2ea3979a36ae0bc4c9e1bacafddbacc731b (cherry picked from commit a4c69137c693c45fce4010ba61d69d7147f5dd9a)
|
a4c69137c693c45fce4010ba61d69d7147f5dd9a |
|
03-Mar-2016 |
Josh Gao <jmgao@google.com> |
Add a checksum to jmp_buf on ARM. Make it easier to diagnose applications mucking with the contents of jmp_buf by checksumming its contents. Bug: http://b/27417786 Change-Id: I9989e2ea3979a36ae0bc4c9e1bacafddbacc731b
|
fe9d0ed6cb10d5403e54d2dd12628a0ec345ae6e |
|
07-Oct-2015 |
Josh Gao <jmgao@google.com> |
Move setjmp cookie to a shared globals struct. Change-Id: I59a4c187d61524c4e48655c4c6376dba0d41eee2
|
7fda8d2aa4d24ab400f6f0cb9f792488b634afae |
|
11-Sep-2015 |
Josh Gao <jmgao@google.com> |
Implement setjmp cookies on ARM. Reuse the top bits of _JB_SIGFLAG field previously used to store a boolean to store a cookie that's validated by [sig]longjmp to make it harder to use as a ROP gadget. Additionally, encrypt saved registers with the cookie so that an attacker can't modify a register's value to a specific value without knowing the cookie. Bug: http://b/23942752 Change-Id: Id0eb8d06916e89d5d776bfcaa9458f8826717ba3
|