diff --git a/system.te b/system.te index 24d4a676b0b6dc16730a2bfd516d2dc915ef3f6f..795c0b887c3816a02fcae8d04caff4efe924db2c 100644 --- a/system.te +++ b/system.te @@ -16,3 +16,4 @@ allow system backup_data_file:dir relabelto; allow system cache_backup_file:dir relabelto; allow system apk_data_file:file relabelto; allow system apk_tmp_file:file relabelto; +allow system apk_private_tmp_file:file relabelto; diff --git a/vold.te b/vold.te index 25e586acc91ffd7f759ff2ca85d99c625394cd4b..1fce7bd244799aa3f047dc6594c41fc0cff1bbf3 100644 --- a/vold.te +++ b/vold.te @@ -50,6 +50,7 @@ allow vold efs_file:file rw_file_perms; # Create and mount on /data/tmp_mnt. allow vold system_data_file:dir { create rw_dir_perms mounton }; +allow vold system_data_file:file create_file_perms; # Set scheduling policy of kernel processes allow vold kernel:process setsched;