From 633ed5a00ed08c2cfa48e8841b125365b06b70df Mon Sep 17 00:00:00 2001 From: Danny Shih Date: Sat, 18 Jan 2020 09:32:41 +0800 Subject: [PATCH] [ALPS03866092] Debug Utility: add sepolicy for /dev/fw_log_wmt [Detail] Create sepolicy definition for /dev/fw_log_wmt MTK-Commit-Id: ffee8a32646445eec5ddb80e4ca4f22b6a74f54e Change-Id: I68560eaf5f7d8e03317aae494d1861141077a31e Feature: Connsys Log Tool Signed-off-by: Danny Shih CR-Id: ALPS03866092 (cherry picked from commit 85aad3cfc9bd3809ea78fcb72d23cb70e8dba462) --- 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..171ff2f 100644 --- a/non_plat/device.te +++ b/non_plat/device.te @@ -13,6 +13,7 @@ type stpbt_device, dev_type; type stpant_device, dev_type; type fm_device, dev_type; type stpgps_device, dev_type; +type fw_log_wmt_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 812d0c0..ff0bd94 100644 --- a/non_plat/file_contexts +++ b/non_plat/file_contexts @@ -148,6 +148,7 @@ /dev/fat(/.*)? u:object_r:fat_device:s0 /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/gps(/.*)? u:object_r:gps_device:s0 /dev/geofence(/.*)? u:object_r:geo_device:s0 #/dev/mt3337_gpsonly u:object_r:gps_device:s0