summaryrefslogtreecommitdiffstats
path: root/non_plat/uncrypt.te
blob: c9b3acbc0bf4d1f1fb8050061073f07474cd2a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#====================== 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 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;