commit | 1d9a51d2ebfe676f30a7d94502ca8f604eec018f | [log] [tgz] |
---|---|---|
author | Jorge Lucangeli Obes <jorgelo@google.com> | Wed Dec 28 10:59:39 2016 -0500 |
committer | Jorge Lucangeli Obes <jorgelo@google.com> | Thu Dec 29 14:24:43 2016 -0500 |
tree | b811365f83e93be3f9aac51bdb6e8abf12f2be0e | |
parent | 4550f5982194e197c1f5553efc8ebbf50403f050 [diff] |
mtpd: Use capabilities instead of GIDs. The 'net_admin'/'net_raw' GIDs are an Android addition that does not exist upstream. Replace them with capabilities which are an upstream feature. This will allow us to drop those kernel patches. Bug: 33938230 Test: 'start mtpd', 'cat /proc/`pgrep mtpd`/status | grep Cap'. Test: "Cap" lines show correct mask: 0000000000003000 Test: Add a VPN, enable it, mtpd starts correctly. Change-Id: I734ed1ae38e6d7d6a8ba393395a5cdb7c98dfe9e