| commit | 2f405f540b03d7f9d0457f19b3acd5c8e3295d9b | [log] [tgz] |
|---|---|---|
| author | Steven Moreland <smoreland@google.com> | Wed Jul 08 22:24:29 2020 +0000 |
| committer | Steven Moreland <smoreland@google.com> | Thu Jul 09 00:18:52 2020 +0000 |
| tree | 4df7e6e1fa11bf47984c24a4818fae2aa3ef8d52 | |
| parent | 021f5e9d9d8b78ac3844b72b20dc81f092826590 [diff] |
libbinder_ndk: AIBinder_{setRequesting,getCalling}Sid
This adds the following two methods for APEX:
- AIBinder_setRequestingSid
- AIBinder_getCallingSid
This is not made as an SDK API because security contexts are a platform
detail, and the platform header is shared for APEX and platform use
(different from parcel for now).
Fixes: 159135973
Test: libbinder_ndk_unit_test
Change-Id: Iec64577ebbb7a8cc6550d1d211fe5f562337cf0b