[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)
This commit is contained in:
parent
f98ad21ce5
commit
29ce7c7c25
14
non_plat/uncrypt.te
Executable file
14
non_plat/uncrypt.te
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#====================== 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;
|
@ -1,3 +0,0 @@
|
|||||||
#====================== uncrypt.te ======================
|
|
||||||
allow uncrypt para_block_device:blk_file w_file_perms;
|
|
||||||
allow uncrypt ota_package_file:file w_file_perms;
|
|
Loading…
x
Reference in New Issue
Block a user