Merge "Remove unnecessary shared_libs for resolv APEX"
diff --git a/OWNERS b/OWNERS
index 6621d68..30fe9a1 100644
--- a/OWNERS
+++ b/OWNERS
@@ -7,3 +7,4 @@
 oth@google.com
 rpl@google.com
 ngeoffray@google.com
+jooyung@google.com
\ No newline at end of file
diff --git a/contents/namespace/art.cc b/contents/namespace/art.cc
index 18c90c1..678fabd 100644
--- a/contents/namespace/art.cc
+++ b/contents/namespace/art.cc
@@ -37,6 +37,10 @@
   ns.AddSearchPath("/apex/com.android.art/${LIB}", AsanPath::SAME_PATH);
   ns.AddPermittedPath("/system/${LIB}");
 
+  // Primary boot image is loaded through dlopen, so pass the primary boot image
+  // to the list of paths.
+  ns.AddPermittedPath("/apex/com.android.art/javalib", AsanPath::SAME_PATH);
+
   // Need allow_all_shared_libs to let libart.so dlopen oat files in
   // /system/framework and /data.
   // TODO(b/130340935): Use a dynamically created linker namespace similar to