From e90468349dc12a5cb1e1ba0e7127eb9fc31fe87f Mon Sep 17 00:00:00 2001 From: Siyuan Jiang Date: Sat, 18 Jan 2020 09:36:31 +0800 Subject: [PATCH] [ALPS03866092] Add sepolicy for /dev/fw_log_bt [Detail] Create sepolicy definition for /dev/fw_log_bt MTK-Commit-Id: 4ef13c078eb67716e42948ec72d1bc26a5e207eb Change-Id: Iad81acd8ceb6f3e3a21e719209e6c91e9e28c517 CR-Id: ALPS03866092 Feature: BT Chipset Capability --- 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 7d4c1ce..7e8cdb0 100644 --- a/non_plat/device.te +++ b/non_plat/device.te @@ -10,6 +10,7 @@ type stpwmt_device, dev_type; type wmtdetect_device, dev_type; type wmtWifi_device, dev_type; type stpbt_device, dev_type; +type fw_log_bt_device, dev_type; type stpant_device, dev_type; type fm_device, dev_type; type stpgps_device, dev_type; diff --git a/non_plat/file_contexts b/non_plat/file_contexts index 812d0c0..894b17c 100644 --- a/non_plat/file_contexts +++ b/non_plat/file_contexts @@ -285,6 +285,7 @@ /dev/socket/wpa_wlan0(/.*)? u:object_r:wpa_wlan0_socket:s0 /dev/stpant(/.*)? u:object_r:stpant_device:s0 /dev/stpbt(/.*)? u:object_r:stpbt_device:s0 +/dev/fw_log_bt u:object_r:fw_log_bt_device:s0 /dev/stpgps u:object_r:mnld_device:s0 /dev/stpgps(/.*)? u:object_r:stpgps_device:s0 /dev/stpwmt(/.*)? u:object_r:stpwmt_device:s0