summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNingyuan Wang <nywang@google.com>2016-08-09 11:36:33 -0700
committerMitchell Wills <mwills@google.com>2016-08-26 13:26:42 -0700
commit0f837d40b1b514bac5fcd4f2668b8353f5564b38 (patch)
tree719fdca3e07b686b14cf67a0ed81c9d16f3be72b
parent6fbe56454aa71c0d72673f179d179c1e6814d22b (diff)
downloadfugu-0f837d40b1b514bac5fcd4f2668b8353f5564b38.tar.gz
Add wificond to fugu image
BUG=30763317 Change-Id: I82dd60997d30e76f36ae4a95ea0f45baef47ee22 (cherry picked from commit 85edf050fa5358c97dc8d64c9f89466c76cb8bb5)
-rw-r--r--device.mk1
-rw-r--r--sepolicy/file_contexts3
2 files changed, 4 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index a52cf2a..195a7d4 100644
--- a/device.mk
+++ b/device.mk
@@ -217,6 +217,7 @@ PRODUCT_PACKAGES += \
libwpa_client \
lib_driver_cmd_bcmdhd \
hostapd \
+ wificond \
wpa_supplicant \
bcmdhd.cal \
bcmdhd_sr2.cal
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 51dcf70..8f9ef45 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -30,6 +30,9 @@
/dev/block/pci/pci0000:00/0000:00:01\.0/by-name/misc u:object_r:misc_block_device:s0
/dev/block/zram0 u:object_r:swap_block_device:s0
+# sysfs files used by wificond
+/sys/module/bcmdhd/parameters/firmware_path u:object_r:sysfs_wlan_fwpath:s0
+
/sys/kernel/debug/pvr/pid(/.*)? u:object_r:gpu_pid_stats_file:s0
/sys/kernel/debug/ion/heaps u:object_r:gpu_pid_stats_file:s0