Merge "Minor <android/dlext.h> documentation improvements." into main
This commit is contained in:
commit
88908db595
1 changed files with 4 additions and 7 deletions
|
@ -14,8 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef __ANDROID_DLEXT_H__
|
||||
#define __ANDROID_DLEXT_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
@ -101,7 +100,7 @@ enum {
|
|||
ANDROID_DLEXT_FORCE_LOAD = 0x40,
|
||||
|
||||
// Historically we had two other options for ART.
|
||||
// They were last available in Android P.
|
||||
// They were last available in API level 28.
|
||||
// Reuse these bits last!
|
||||
// ANDROID_DLEXT_FORCE_FIXED_VADDR = 0x80
|
||||
// ANDROID_DLEXT_LOAD_AT_FIXED_ADDRESS = 0x100
|
||||
|
@ -115,7 +114,7 @@ enum {
|
|||
ANDROID_DLEXT_USE_NAMESPACE = 0x200,
|
||||
|
||||
/**
|
||||
* Instructs dlopen to apply `ANDROID_DLEXT_RESERVED_ADDRESS`,
|
||||
* Instructs dlopen() to apply `ANDROID_DLEXT_RESERVED_ADDRESS`,
|
||||
* `ANDROID_DLEXT_RESERVED_ADDRESS_HINT`, `ANDROID_DLEXT_WRITE_RELRO` and
|
||||
* `ANDROID_DLEXT_USE_RELRO` to any libraries loaded as dependencies of the
|
||||
* main library as well.
|
||||
|
@ -151,7 +150,7 @@ enum {
|
|||
|
||||
struct android_namespace_t;
|
||||
|
||||
/** Used to pass Android-specific arguments to `android_dlopen_ext`. */
|
||||
/** Used to pass Android-specific arguments to android_dlopen_ext(). */
|
||||
typedef struct {
|
||||
/** A bitmask of `ANDROID_DLEXT_` enum values. */
|
||||
uint64_t flags;
|
||||
|
@ -183,5 +182,3 @@ void* _Nullable android_dlopen_ext(const char* _Nullable __filename, int __flags
|
|||
__END_DECLS
|
||||
|
||||
/** @} */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue