sepolicy: Fixes for external storage denials
Change-Id: Ia7b13e360ea4109fb12a4ade91b3536bcb3e57c5
This commit is contained in:
parent
29d4d78bd9
commit
1e1d0f4bed
4 changed files with 5 additions and 0 deletions
1
sepolicy/fsck_untrusted.te
Normal file
1
sepolicy/fsck_untrusted.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow fsck_untrusted self:capability sys_admin;
|
|
@ -1 +1,2 @@
|
|||
genfscon proc /bluetooth/sleep u:object_r:proc_bluetooth_writable:s0
|
||||
genfscon exfat / u:object_r:sdcard_external:s0
|
||||
|
|
|
@ -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
2
sepolicy/vold.te
Normal 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;
|
Loading…
Reference in a new issue