Freddy Hsin 29ce7c7c25 [ALPS04763256] siu: move uncrypt sepolicy
1. rename uncrypte.te to uncrypt.te
2. move permission in bsp to basic

MTK-Commit-Id: 13f7243b07dc87cf357da41a5920826c80b1dede

Change-Id: I26363151ce8644a67eb9742d9c507a77abfff129
CR-Id: ALPS04763256
Feature: [Android Default] SIU (SD Image Update)
2020-01-18 10:21:07 +08:00

15 lines
685 B
Plaintext
Executable File

#====================== uncrypt.te ======================
# uncrypt for mtd
allow uncrypt mtd_device:chr_file { read write open ioctl };
allow uncrypt mtd_device:dir search;
allow uncrypt misc_device:chr_file ~rename;
allow uncrypt system_data_file:file { open read };
allow uncrypt userdata_block_device:blk_file w_file_perms;
allow uncrypt para_block_device:blk_file { write open };
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 ota_package_file:file w_file_perms;