summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Janis Danisevskis <jdanis@google.com> 2020-08-18 08:35:38 -0700
committer Stephen Crane <sjc@immunant.com> 2020-09-09 16:21:03 -0700
commit798a09a7213b792b779334e45f6931d511983d09 (patch)
treeb36fbcf245918db4b31250f2cd0a77a74f8ef242 /libs/binder/IPCThreadState.cpp
parenteeabafba1667681738e7e7ed8df581f3c37e50df (diff)
Expose binder security context to rust binder services
This patch exposes AIBinder_setRequestingSid and AIBinder_getCallingSid to binder services written in Rust. This is required by services to effectively enforce SEPolicy because relying only on the caller's PID is racy. Bug: 165070170 Test: atest rustBinderTest Change-Id: Iae25d4fedded7d133354ba4c82527f33e5d5e1ce
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
0 files changed, 0 insertions, 0 deletions