From 45d521a577cbe74566aaea8c4a133ce293868254 Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Wed, 10 Oct 2018 11:10:25 -0700 Subject: [PATCH] Label /data/asan/* libs as system_lib_file. This patch gives global access to asan libraries. This is not ideal since the labeling is not symmetric with standard locations, but this approach is easy to maintain. Fixes: 117555408 Test: processes on asan builds load /data/asan/* libs correctly Change-Id: If54558c1808d8b16e06073c150c9f3eb358dda67 --- private/file_contexts_asan | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/private/file_contexts_asan b/private/file_contexts_asan index c7d72a480..bd841a33c 100644 --- a/private/file_contexts_asan +++ b/private/file_contexts_asan @@ -1,9 +1,9 @@ -/data/asan/system/lib(/.*)? u:object_r:system_file:s0 -/data/asan/system/lib64(/.*)? u:object_r:system_file:s0 -/data/asan/vendor/lib(/.*)? u:object_r:system_file:s0 -/data/asan/vendor/lib64(/.*)? u:object_r:system_file:s0 -/data/asan/odm/lib(/.*)? u:object_r:system_file:s0 -/data/asan/odm/lib64(/.*)? u:object_r:system_file:s0 +/data/asan/system/lib(/.*)? u:object_r:system_lib_file:s0 +/data/asan/system/lib64(/.*)? u:object_r:system_lib_file:s0 +/data/asan/vendor/lib(/.*)? u:object_r:system_lib_file:s0 +/data/asan/vendor/lib64(/.*)? u:object_r:system_lib_file:s0 +/data/asan/odm/lib(/.*)? u:object_r:system_lib_file:s0 +/data/asan/odm/lib64(/.*)? u:object_r:system_lib_file:s0 /system/asan.options u:object_r:system_asan_options_file:s0 /system/bin/asan_extract u:object_r:asan_extract_exec:s0 /system/bin/asanwrapper u:object_r:asanwrapper_exec:s0