pub unsafe extern "C" fn AIBinder_getCallingSid() -> *const c_char
Expand description
Returns the selinux context of the callee.
In order for this to work, the following conditions must be met:
- The kernel must be new enough to support this feature.
- The server must have called AIBinder_setRequestingSid.
- The callee must be a remote process.
\return security context or null if unavailable. The lifetime of this context is the lifetime of the transaction.