From 109462e1f2c6684a283cb2a7a9542fbbb2d7a1ec Mon Sep 17 00:00:00 2001 From: Jianping Jiang Date: Sat, 18 Jan 2020 10:16:26 +0800 Subject: [PATCH] [ALPS04674290] Correct mnld_device type 1. Remove mnld_device from lbs_dbg.te; 2. move mnld_device type to non_plat folder MTK-Commit-Id: f575807c7ac6d6a30595479ae03339b5765ff884 Change-Id: I8ba23283a103f52c045ae6c69ec7fc4eca06df84 CR-Id: ALPS04674290 Feature: Location Chipset Capability --- non_plat/device.te | 2 +- plat_private/lbs_dbg.te | 2 +- plat_public/device.te | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/non_plat/device.te b/non_plat/device.te index 745dd39..abe58e9 100644 --- a/non_plat/device.te +++ b/non_plat/device.te @@ -156,7 +156,7 @@ type hwzram0_device, dev_type; type RT_Monitor_device, dev_type; type kick_powerkey_device, dev_type; type agps_device, dev_type; -#type mnld_device, dev_type; +type mnld_device, dev_type; type geo_device, dev_type; type mdlog_device, dev_type; type md32_device, dev_type; diff --git a/plat_private/lbs_dbg.te b/plat_private/lbs_dbg.te index db0f047..db46413 100755 --- a/plat_private/lbs_dbg.te +++ b/plat_private/lbs_dbg.te @@ -21,7 +21,7 @@ allow lbs_dbg lbs_dbg_data_file:file create_file_perms; allow lbs_dbg system_data_file:lnk_file read; -allow lbs_dbg mnld_device:chr_file rw_file_perms; +#allow lbs_dbg mnld_device:chr_file rw_file_perms; allow lbs_dbg media_rw_data_file:dir search; allow lbs_dbg media_rw_data_file:dir { read open }; diff --git a/plat_public/device.te b/plat_public/device.te index d87cb47..86cb28f 100644 --- a/plat_public/device.te +++ b/plat_public/device.te @@ -5,4 +5,3 @@ type kb_block_device,dev_type; type dkb_block_device,dev_type; type mtd_device, dev_type; -type mnld_device, dev_type;