aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroshmoun <oshmoun100@googlemail.com>2018-10-08 23:30:45 +0200
committeroshmoun <oshmoun100@googlemail.com>2018-10-08 23:32:59 +0200
commit41fa590f69ca9320bbee0511bb261db71a6af8ec (patch)
tree314833fb15a59ccec9696ad5dc88174e2a4765f2
parent8cdee18386b5cea2e48614e2dba9404d5586c05c (diff)
macaddrsetup: grant NET_ADMIN and NET_RAW
These capablities are required to be able to set the mac address in case brcmfmac is used. With these capablities, the service is actually able to open the socket and write to it. Change-Id: I916a30afddb55081862d0482081a8736d1a0d13c
-rw-r--r--vendor/etc/init/macaddrsetup.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/etc/init/macaddrsetup.rc b/vendor/etc/init/macaddrsetup.rc
index 17db5ea..fb1f289 100644
--- a/vendor/etc/init/macaddrsetup.rc
+++ b/vendor/etc/init/macaddrsetup.rc
@@ -3,5 +3,6 @@ service macaddrsetup /vendor/bin/macaddrsetup ${ro.wifi.addr_path}
class main
user system
group system bluetooth wifi
+ capabilities NET_ADMIN NET_RAW
oneshot