From 975daae1029eef1ef4cf1a629ef71b4962c480bc Mon Sep 17 00:00:00 2001 From: Black Chen Date: Sat, 18 Jan 2020 09:33:04 +0800 Subject: [PATCH] [ALPS03866092] wlan: add sepolicy for /dev/fw_log_wifi [Detail] Create sepolicy definition for /dev/fw_log_wifi [Solution] N/A MTK-Commit-Id: 28b450dc71b48735fef6b58ade1f97bc8d81da8f Change-Id: If932821d83e6999a3068a7520ea987b7a2ce09f8 Signed-off-by: Black Chen CR-Id: ALPS03866092 Feature: Connsys Log Tool (cherry picked from commit 39d8afbc1344efe75a4c591fec4e8eab78db1c61) --- non_plat/device.te | 1 + non_plat/file_contexts | 1 + 2 files changed, 2 insertions(+) diff --git a/non_plat/device.te b/non_plat/device.te index 171ff2f..9df91a1 100644 --- a/non_plat/device.te +++ b/non_plat/device.te @@ -14,6 +14,7 @@ type stpant_device, dev_type; type fm_device, dev_type; type stpgps_device, dev_type; type fw_log_wmt_device, dev_type; +type fw_log_wifi_device, dev_type; type pmem_multimedia_device, dev_type; type mt6516_isp_device, dev_type; type mt6516_IDP_device, dev_type; diff --git a/non_plat/file_contexts b/non_plat/file_contexts index ff0bd94..cb06e5c 100644 --- a/non_plat/file_contexts +++ b/non_plat/file_contexts @@ -149,6 +149,7 @@ /dev/FM50AF(/.*)? u:object_r:FM50AF_device:s0 /dev/fm(/.*)? u:object_r:fm_device:s0 /dev/fw_log_wmt u:object_r:fw_log_wmt_device:s0 +/dev/fw_log_wifi u:object_r:fw_log_wifi_device:s0 #/dev/gps(/.*)? u:object_r:gps_device:s0 /dev/geofence(/.*)? u:object_r:geo_device:s0 #/dev/mt3337_gpsonly u:object_r:gps_device:s0