diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2019-03-25 20:27:52 -0700 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2019-04-10 15:04:14 -0700 |
commit | 72625f5fd4c4b83e16751dfd2b81ea8c53f0d242 (patch) | |
tree | 2a924eacd9607bb0b95e334dbc4f42c9e9046ad0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 46a93ae8f8aade992607b419c957d40d98e2ec9d (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
Merged-In: I90b5c91923c8008ae4b4818985842fe3e354a850
(cherry picked from commit 739c0b5193345abfce0373502c795448cc94a3ab)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions