3299590dfe582c212c2928b7b57427db57859d46 |
|
16-Mar-2016 |
Predrag Blagojevic <predrag.blagojevic@imgtec.com> |
Add a checksum to jmp_buf on mips and mips64. Make it easier to diagnose applications mucking with the contents of jmp_buf by checksumming its contents. Bug: http://b/27417786 Change-Id: I473bc2871dece23a9b9d02481945246160d671c6
|
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
|
1b519c0ae436480881ab10d5b66a184afa4d4373 |
|
06-Oct-2015 |
Nikola Veljkovic <Nikola.Veljkovic@imgtec.com> |
Implement setjmp cookies on MIPS and MIPS64 Bug: http://b/23942752 Change-Id: Ie58892a97b5075d30d7607667251007cda99d38c
|
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
|
87dd503018c075a7afe5f0c0613262aca3861d21 |
|
27-Jan-2015 |
Elliott Hughes <enh@google.com> |
Add a test for float registers across setjmp/logjmp. Change-Id: I17cc056b185755e0b91de096b5ceefee4f4e0b3a
|
1510a1c1ae1068ee75a1577ad1052fe5c3169816 |
|
10-Dec-2014 |
Elliott Hughes <enh@google.com> |
Fix the setjmp tests for mips. Although the LP32 mips sigset_t is large enough to represent all signals, their jmp_buf is too small. This test succeeded on arm and x86 because the RT signals were never in the 'expected' sigset_t, so the equality comparison with the 'actual' sigset_t worked fine --- everyone was blind to the RT signal. On mips the tests fail because the 'expected' sigset_t does contain the RT signal but the 'actual' doesn't because the jmp_buf only saves and restores the first 32 signals. There are 32 free bits (currently used as padding) in the LP32 mips jmp_buf, and they might choose to use those to provide better support than the other two platforms, but I'll leave that to them. It will be easy to just remove the #if defined(__LP64__) from this change in that case. For mips64 it's not to late to increase the size of the jmp_buf and fix the setjmp family, but since there are decisions to be made here for LP32, I'll leave it all to Imagination folks... Bug: 16918359 Change-Id: I6b723712fce0e9210dafa165d8599d950b2d3500
|
1c0c0ede573e3caf86b6fc395ba933bfb7235afa |
|
06-Dec-2014 |
Elliott Hughes <enh@google.com> |
Fix signal mask save/restore for x86-64. Bug: 16918359 Change-Id: I30bf61e7d5f1c21daa3a1a21d361e98d77220bf3
|
e323e99ffbf9e508e74a261f1075433f5a81677f |
|
02-Dec-2014 |
Yabin Cui <yabinc@google.com> |
restore sigprocmask in setjmp/longjmp test. Bug: 18571921 Change-Id: Ib8ca7a36abd3ccc729c20c0e32d45b1b33069f65
|
9fea4090f1160ad8ca77e7b2a9a1a81dc4376329 |
|
31-Oct-2014 |
Yongqin Liu <yongqin.liu@linaro.org> |
bionic tests: add setjmp/_setjmp/sigsetjmp tests. Bug: 17288973 Change-Id: I2808eee58cbddae1b16fbe19a715b72d6dbaaec3 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|