commit | e4528e1bc495c44f61c15b0457c0e3701cdf8ccc | [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 | 1790a656af19b3f1fd85bc95eea90c25d9b7e60e | |
parent | f5e901005c69ef9f5d70e1888fd659e2b31ba465 [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