Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f8dc01b authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge changes from topic 'am-a4406a3abc304bda91eea9becf864ba6' into nyc-mr2-dev-plus-aosp

* changes:
  dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH am: 00d5dad5
  Make dlext_namespaces.h available to users of libnativeloader am: 243bbd29  -s ours
parents 6d28c37e bfbfeb26
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -86,6 +86,19 @@ extern struct android_namespace_t* android_create_namespace(const char* name,
                                                            const char* permitted_when_isolated_path,
                                                            android_namespace_t* parent);

/*
 * Get the default library search path.
 * The path will be copied into buffer, which must have space for at least
 * buffer_size chars. Elements are separated with ':', and the path will always
 * be null-terminated.
 *
 * If buffer_size is too small to hold the entire default search path and the
 * null terminator, this function will abort. There is currently no way to find
 * out what the required buffer size is. At the time of this writing, PATH_MAX
 * is sufficient and used by all callers of this function.
 */
extern void android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size);

__END_DECLS

#endif /* __ANDROID_DLEXT_NAMESPACES_H__ */