diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2019-03-25 20:27:52 -0700 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2019-03-26 13:11:30 -0700 |
commit | 739c0b5193345abfce0373502c795448cc94a3ab (patch) | |
tree | 79e14ba349fdd72c1319dd7f691030340383d09f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 417059b13ef2d7c0bec2278fe1c58ce975bf99c5 (diff) |
Disable XOM on libraries for apps with targetSdkVerison<Q
Apps may (and do) assume that libraries are readable. To avoid app
breakage, mark execute-only sections of as read+execute
for apps with targetSdkVersion<Q.
Bug: 128907672
Test: Check libc for app with targetSdk==current
cat /proc/25950/maps | grep libc.so
77c01e3000-77c028b000 --xp 00041000 07:20 106 /apex/com.android.runtime/lib64/bionic/libc.so
Test: Check libc for app with targetSdk<current
cat /proc/26355/maps | grep libc.so
77c01e3000-77c028b000 r-xp 00041000 07:20 106
/apex/com.android.runtime/lib64/bionic/libc.so
Change-Id: I90b5c91923c8008ae4b4818985842fe3e354a850
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions