commit | 8e0e372a388434a0553810e2b958e59a26a6bd96 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Thu Oct 14 14:29:00 2010 -0700 |
committer | Jean-Baptiste Queru <jbq@google.com> | Thu Oct 14 14:29:00 2010 -0700 |
tree | 94b3cf8d91ffcc3db0f027212f244cdcada402c5 | |
parent | 9cd8057b6e8f5fc1254a4ed19e8127b5091b5dce [diff] |
Set PROT_EXEC on the whole pixelflinger code cache. The pointer difference between word pointers is a number of words, and it needs to be multiplied by the size of a word to get a proper byte size. Without this, we tend to see crashes when the code crosses a page boundary. Bug: 3026204 Bug: 3097482 Change-Id: I37776d26d5afcdb1da71680de02fbb95e6548371