From 309d5db54abc76c53770f3e3307dadeb666e1344 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Tue, 22 Aug 2017 21:39:53 -0700 Subject: wificond.rc: Set CAP_NET_RAW and CAP_NET_ADMIN explicitly rather then implictly via group Rather then depending on the ANDROID_PARANOID_NETWORKING hack, which allows processes in group net_raw and net_admin to implicitly be granted CAP_NET_RAW and CAP_NET_ADMIN, set the capabilities explictly. This allows wificond to function on mainline based kernels that do not enable ANDROID_PARANOID_NETWORKING. Bug: 65022091 Change-Id: Ia44bf3192ab48944e7d423635a06650214d22b27 Signed-off-by: John Stultz --- wificond.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/wificond.rc b/wificond.rc index 3cc72e6..407fcca 100644 --- a/wificond.rc +++ b/wificond.rc @@ -2,3 +2,4 @@ service wificond /system/bin/wificond class main user wifi group wifi net_raw net_admin + capabilities NET_RAW NET_ADMIN -- cgit v1.2.3-54-g00ecf