summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjit Kumar2017-11-30 22:45:59 -0600
committerTom Cherry2018-03-29 14:34:06 -0500
commitb0fc2d743b194e3b2ece60f3f48d2beea79fcd17 (patch)
tree39f269ee0a18bff7bf5076868eb65d2ae4495002 /libcutils
parentcdf778f5d92ab8748897a4d95693524d3273c23a (diff)
downloadplatform-system-core-b0fc2d743b194e3b2ece60f3f48d2beea79fcd17.tar.gz
platform-system-core-b0fc2d743b194e3b2ece60f3f48d2beea79fcd17.tar.xz
platform-system-core-b0fc2d743b194e3b2ece60f3f48d2beea79fcd17.zip
Enabled SYS_MODULE capability for wifi@1.0-service
Add sys_module capability to enabled insmod operation. Merged-In: I6436c3297e5318bd00ae3582549a11cb82ccbafd Change-Id: I6436c3297e5318bd00ae3582549a11cb82ccbafd (cherry picked from commit c2a059fbf005b29f9ca8a69ea48f58ffa1359abd)
Diffstat (limited to 'libcutils')
-rw-r--r--libcutils/fs_config.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp
index a993d411c..3abf95830 100644
--- a/libcutils/fs_config.cpp
+++ b/libcutils/fs_config.cpp
@@ -199,8 +199,9 @@ static const struct fs_path_config android_files[] = {
199 199
200 // Support wifi_hal_legacy administering a network interface. 200 // Support wifi_hal_legacy administering a network interface.
201 { 00755, AID_WIFI, AID_WIFI, CAP_MASK_LONG(CAP_NET_ADMIN) | 201 { 00755, AID_WIFI, AID_WIFI, CAP_MASK_LONG(CAP_NET_ADMIN) |
202 CAP_MASK_LONG(CAP_NET_RAW), 202 CAP_MASK_LONG(CAP_NET_RAW) |
203 "vendor/bin/hw/android.hardware.wifi@1.0-service" }, 203 CAP_MASK_LONG(CAP_SYS_MODULE),
204 "vendor/bin/hw/android.hardware.wifi@1.0-service" },
204 205
205 // A non-privileged zygote that spawns isolated processes for web rendering. 206 // A non-privileged zygote that spawns isolated processes for web rendering.
206 { 0750, AID_ROOT, AID_ROOT, CAP_MASK_LONG(CAP_SETUID) | 207 { 0750, AID_ROOT, AID_ROOT, CAP_MASK_LONG(CAP_SETUID) |