diff options
author | 2024-06-18 12:32:03 +0100 | |
---|---|---|
committer | 2024-06-19 16:21:05 +0000 | |
commit | 7d4ebce2d8e15260ecdbfc6b3c67df3b5a7a09b4 (patch) | |
tree | c673c29bd85499256223001213cc42f609cf8c94 /libnativeloader/library_namespaces.h | |
parent | b8d63dfa69260d79fa254c29ae432c16756fa73a (diff) |
Recognise system/system_ext as a system image partition path.
Also move the regex used for that next to the other partition regex'es
for visibility, and add some unit tests.
Test: atest libnativeloader_tests libnativeloader_e2e_tests
on mokey_go32
Bug: 346515837
Change-Id: I30a85678e0d3c45645d6f089f5f1d92e1360e8bf
Diffstat (limited to 'libnativeloader/library_namespaces.h')
-rw-r--r-- | libnativeloader/library_namespaces.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnativeloader/library_namespaces.h b/libnativeloader/library_namespaces.h index b932a557e0..c9adee314c 100644 --- a/libnativeloader/library_namespaces.h +++ b/libnativeloader/library_namespaces.h @@ -58,6 +58,7 @@ using ApiDomain = enum { ApiDomain GetApiDomainFromPath(const std::string_view path); Result<ApiDomain> GetApiDomainFromPathList(const std::string& path_list); +bool IsPartitionNativeLibPath(const std::string& path); // LibraryNamespaces is a singleton object that manages NativeLoaderNamespace // objects for an app process. Its main job is to create (and configure) a new |