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

Commit 4e4dec81 authored by Ken Chen's avatar Ken Chen Committed by Automerger Merge Worker
Browse files

Merge "Weak symbol AIBinder_{setRequesting,getCalling}Sid" am: eeabafba am: 025e8f1e

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1398747

Change-Id: I4b5e79323f66894df32ee2a164b47fbfa786cc49
parents 427611fa 025e8f1e
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -32,7 +32,8 @@ __BEGIN_DECLS
 *
 *
 * \param binder local server binder to request security contexts on
 * \param binder local server binder to request security contexts on
 */
 */
void AIBinder_setRequestingSid(AIBinder* binder, bool requestingSid) __INTRODUCED_IN(31);
__attribute__((weak)) void AIBinder_setRequestingSid(AIBinder* binder, bool requestingSid)
        __INTRODUCED_IN(31);


/**
/**
 * Returns the selinux context of the callee.
 * Returns the selinux context of the callee.
@@ -45,7 +46,7 @@ void AIBinder_setRequestingSid(AIBinder* binder, bool requestingSid) __INTRODUCE
 * \return security context or null if unavailable. The lifetime of this context
 * \return security context or null if unavailable. The lifetime of this context
 * is the lifetime of the transaction.
 * is the lifetime of the transaction.
 */
 */
__attribute__((warn_unused_result)) const char* AIBinder_getCallingSid() __INTRODUCED_IN(31);
__attribute__((weak, warn_unused_result)) const char* AIBinder_getCallingSid() __INTRODUCED_IN(31);


__END_DECLS
__END_DECLS