diff options
Diffstat (limited to 'non_plat/uncrypt.te')
-rw-r--r-- | non_plat/uncrypt.te | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/non_plat/uncrypt.te b/non_plat/uncrypt.te index c9b3acb..2684a23 100644 --- a/non_plat/uncrypt.te +++ b/non_plat/uncrypt.te @@ -1,13 +1,13 @@ #====================== uncrypt.te ====================== # uncrypt for mtd -allow uncrypt mtd_device:chr_file { read write open ioctl }; +allow uncrypt mtd_device:chr_file rw_file_perms; allow uncrypt mtd_device:dir search; allow uncrypt misc_device:chr_file ~rename; allow uncrypt userdata_block_device:blk_file w_file_perms; -allow uncrypt para_block_device:blk_file { write open }; +allow uncrypt para_block_device:blk_file w_file_perms; allow uncrypt system_app_data_file:dir { getattr search }; allow uncrypt system_app_data_file:file { read getattr }; allow uncrypt media_rw_data_file:dir { getattr search }; -allow uncrypt media_rw_data_file:file { read getattr open }; +allow uncrypt media_rw_data_file:file r_file_perms; allow uncrypt ota_package_file:file w_file_perms; |