Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-connectivity-wificond: Commit

system/connectivity/wificond


Commit MetaInfo

Revisión593a90f227cd269295082060f72baf1bb3ebb4c5 (tree)
Tiempo2018-03-08 12:46:03
AutorJohn Stultz <john.stultz@lina...>
CommiterChih-Wei Huang

Log Message

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 <john.stultz@linaro.org>

Cambiar Resumen

Diferencia incremental

--- a/wificond.rc
+++ b/wificond.rc
@@ -2,3 +2,4 @@ service wificond /system/bin/wificond
22 class main
33 user wifi
44 group wifi net_raw net_admin
5+ capabilities NET_RAW NET_ADMIN
Show on old repository browser