| commit | 01deb94c15a570735473d58ed4062fa3094aac56 | [log] [tgz] |
|---|---|---|
| author | Luis Hector Chavez <lhchavez@google.com> | Wed Apr 04 15:59:59 2018 -0700 |
| committer | Luis Hector Chavez <lhchavez@google.com> | Thu Apr 05 15:34:05 2018 -0700 |
| tree | ee59d3d956d46dc76e79b92c4dc308535af4a659 | |
| parent | c25aedb0ee77d5805fe9acb1f906c2d56608b3a9 [diff] |
adb: Correctly drop caps when ambient capabilities are used
This change splits the capability-dropping step of adbd into two. This
is more robust when ambient capabilities are being used, since minijail
cannot currently handle that case.
Bug: 77146512
Test: grep Cap /proc/`pidof adbd`/status
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 00000000000000c0
CapAmb: 0000000000000000
Change-Id: I0476a8d80f7a2497600196932542045f3bc87537