From 5355d826f93b03ec6d292c5c0bd36d3a9937dbde Mon Sep 17 00:00:00 2001 From: Stricted Date: Sun, 17 Jan 2021 01:17:29 +0000 Subject: [PATCH] add gps support back --- sepolicy/mnld.te | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sepolicy/mnld.te b/sepolicy/mnld.te index 8e86efc..cc9c703 100644 --- a/sepolicy/mnld.te +++ b/sepolicy/mnld.te @@ -44,3 +44,10 @@ allow mnld block_device:dir search; file_type_auto_trans(mnld,system_data_file,mnld_data_file); file_type_auto_trans(mnld,apk_data_file,mnld_data_file); + + +allow mnld nvram_device:chr_file { read write open ioctl }; +allow mnld mmc_device:blk_file { read write open }; +allow mnld sysfs_boot_mode:file { read open }; +allow mnld system_data_file:dir { remove_name }; +allow mnld system_data_file:file { open };