summaryrefslogtreecommitdiff
path: root/libnativeloader/library_namespaces.cpp
diff options
context:
space:
mode:
authorDan Zimmerman <danzimm@fb.com>2020-01-31 13:35:12 -0800
committerCalin Juravle <calin@google.com>2020-02-08 02:41:12 +0000
commitc9fa770b6eedcf0cfe05b2449423f5494eecfce0 (patch)
tree684657b011f8980da10cbdc89ca6288d933a2734 /libnativeloader/library_namespaces.cpp
parenta7d98b9560166eddaeb78d0f19402ee80ec9df06 (diff)
Introduce VMRuntime.isValidClassLoaderContext
In the PackageManager server we need to validate class loader contexts that we receive from an untrusted process. In order to keep class loader context parsing logic centralized within the runtime let's create an API which returns whether or not the runtime can parse the encoded class loader context. Test: Build system image, open app using secondary dex Test: atest atest com.android.server.pm.dex.DexManagerTests Test: m test-art-host-gtest-class_loader_context_test Change-Id: Ied676e3239f70a8ab9d066df79f377b7036b28b7
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions