Allow Bluetooth HAL to access /sys/class/rfkill

Test: compiles; HAL can write rfkill state
Change-Id: I5815a1f50ef8d09bf83541a6d2389b61bd007306
This commit is contained in:
Andre Eisenbach 2016-11-22 14:18:55 -08:00 committed by Myles Watson
parent f3780f3cc8
commit 8097210093
1 changed files with 4 additions and 0 deletions

View File

@ -163,6 +163,10 @@ static const struct fs_path_config android_files[] = {
CAP_MASK_LONG(CAP_NET_RAW),
"system/bin/hw/android.hardware.wifi@1.0-service" },
/* Support Bluetooth legacy hal accessing /sys/class/rfkill */
{ 00700, AID_BLUETOOTH, AID_BLUETOOTH, CAP_MASK_LONG(CAP_NET_ADMIN),
"system/bin/hw/android.hardware.bluetooth@1.0-service" },
/* A non-privileged zygote that spawns isolated processes for web rendering. */
{ 0750, AID_ROOT, AID_ROOT, CAP_MASK_LONG(CAP_SETUID) |
CAP_MASK_LONG(CAP_SETGID) |