Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3989216 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by android-build-merger
Browse files

Merge "Allow Bluetooth HAL to access /sys/class/rfkill"

am: 6ad690df

Change-Id: I1988d864cfb3ed15dc2cc62e6efca554e018d448
parents 3dccdc5e 6ad690df
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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) |