OSDN Git Service

Fix permissions for lshal
authorYifan Hong <elsk@google.com>
Fri, 3 Feb 2017 21:40:04 +0000 (13:40 -0800)
committerYifan Hong <elsk@google.com>
Sat, 11 Feb 2017 01:19:52 +0000 (17:19 -0800)
commitb24760fd49d6475885eb4edae7b2f42888d5e30f
tree8699084af503bcc10c903f9eb6b693dfed086669
parent270fff6a7c6c80ad24c20be9fbf152fcfdf61758
Fix permissions for lshal

Instead of IServiceManager::debugDump, lshal now relies
on list and get. lshal itself will call getDebugInfo
on each interface, so that each interface can check if
the call is from a root user, then decide to leak
addresses or not.

Bug: 34899586

Test: lshal

Change-Id: I8eb9168c3b071b8b1f27dbeaa0ac27d2067200d7
cmds/lshal/lshal.cpp