-
Jorge Lucangeli Obes authored
The 'net_raw' GID is an Android addition that does not exist upstream. Moreover, 'hostapd' is already getting CAP_NET_RAW as a file capability in https://cs.corp.google.com/android/system/core/libcutils/fs_config.c?l=161. Not only that, but 'hostapd' needs both CAP_NET_ADMIN *and* CAP_NET_RAW, and the .rc file was only granting 'net_raw'. Remove 'net_raw' and just use file capabilities. This will allow us to drop those kernel patches. Bug: 33938230 Test: 'start hostapd', 'cat /proc/`pgrep hostapd`/status | grep Cap'. Test: "CapPrm", "CapEff" lines show correct mask: 0000000000003000. Change-Id: I19a3b28993abc9588c2269a513e78aa565a25ece
73d1e570