I need to do security check on an IBinder
instance carried from other process via IPC. The creator/receiver of this IBinder
may not be the direct caller of the IPC carrying it, so I can't simply use Binder.getCallingUid()
.
How can I detect the UID or PID of a specific IBinder
instance?