sepolicy: Fixes for external storage denials

Change-Id: Ia7b13e360ea4109fb12a4ade91b3536bcb3e57c5
This commit is contained in:
codeworkx 2015-12-30 11:48:31 +01:00 committed by OzzysCmAcc
parent 29d4d78bd9
commit 1e1d0f4bed
4 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
allow fsck_untrusted self:capability sys_admin;

View File

@ -1 +1,2 @@
genfscon proc /bluetooth/sleep u:object_r:proc_bluetooth_writable:s0
genfscon exfat / u:object_r:sdcard_external:s0

View File

@ -6,3 +6,4 @@ allow system_server sysfs_sec:file rw_file_perms;
allow system_server sysfs_vibeamp:dir search;
allow system_server sysfs_vibeamp:file rw_file_perms;
allow system_server wifi_efs_file:file r_file_perms;
allow system_server storage_stub_file:dir { getattr };

2
sepolicy/vold.te Normal file
View File

@ -0,0 +1,2 @@
allow vold storage_stub_file:dir { rw_file_perms search add_name };
allow vold mnt_media_rw_stub_file:dir r_dir_perms;