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

Commit 666464a1 authored by Tom Cherry's avatar Tom Cherry
Browse files

Revert "fs_config: Move hostapd to /vendor/bin/hw"

This reverts commit 656b75c7.

Capability bits are moving from fs_config.cpp to the associated init
scripts for daemons on /vendor.

Bug: 74554159
Test: wifi tethering works on walleye
parent 677bed57
Loading
Loading
Loading
Loading
+1 −6
Original line number Original line Diff line number Diff line
@@ -186,16 +186,11 @@ static const struct fs_path_config android_files[] = {
    { 00755, AID_SYSTEM,    AID_GRAPHICS,  CAP_MASK_LONG(CAP_SYS_NICE),
    { 00755, AID_SYSTEM,    AID_GRAPHICS,  CAP_MASK_LONG(CAP_SYS_NICE),
                                              "system/bin/surfaceflinger" },
                                              "system/bin/surfaceflinger" },


    // Support hostapd administering a network interface (Old Path: <= O-MR1 release).
    // Support hostapd administering a network interface.
    { 00755, AID_WIFI,      AID_WIFI,      CAP_MASK_LONG(CAP_NET_ADMIN) |
    { 00755, AID_WIFI,      AID_WIFI,      CAP_MASK_LONG(CAP_NET_ADMIN) |
                                           CAP_MASK_LONG(CAP_NET_RAW),
                                           CAP_MASK_LONG(CAP_NET_RAW),
                                              "vendor/bin/hostapd" },
                                              "vendor/bin/hostapd" },


    // Support hostapd administering a network interface (New Path: >= P release).
    { 00750, AID_WIFI,      AID_WIFI,      CAP_MASK_LONG(CAP_NET_ADMIN) |
                                           CAP_MASK_LONG(CAP_NET_RAW),
                                              "vendor/bin/hw/hostapd" },

    // Support Bluetooth legacy hal accessing /sys/class/rfkill
    // Support Bluetooth legacy hal accessing /sys/class/rfkill
    // Support RT scheduling in Bluetooth
    // Support RT scheduling in Bluetooth
    { 00700, AID_BLUETOOTH, AID_BLUETOOTH, CAP_MASK_LONG(CAP_NET_ADMIN) |
    { 00700, AID_BLUETOOTH, AID_BLUETOOTH, CAP_MASK_LONG(CAP_NET_ADMIN) |