Merge "Revert "Remove capability setting for legacy_wifi_hal"" into oc-dev

This commit is contained in:
TreeHugger Robot 2017-04-27 03:44:52 +00:00 committed by Android (Google) Code Review
commit df54d0efc3

View file

@ -195,6 +195,11 @@ static const struct fs_path_config android_files[] = {
CAP_MASK_LONG(CAP_SYS_NICE),
"vendor/bin/hw/android.hardware.bluetooth@1.0-service" },
/* Support wifi_hal_legacy administering a network interface. */
{ 00755, AID_WIFI, AID_WIFI, CAP_MASK_LONG(CAP_NET_ADMIN) |
CAP_MASK_LONG(CAP_NET_RAW),
"vendor/bin/hw/android.hardware.wifi@1.0-service" },
/* A non-privileged zygote that spawns
* isolated processes for web rendering. */
{ 0750, AID_ROOT, AID_ROOT, CAP_MASK_LONG(CAP_SETUID) |