From ae84b8679908c51b7e6e40ac549e7ac08c992562 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Wed, 14 Jul 2021 14:22:46 +0000 Subject: [PATCH] virtualizationservice will clear its own temporary directory. This means that toolbox doesn't need permission to delete it. Bug: 192917795 Bug: 193365943 Test: flashed on a VIM3L and booted Change-Id: Ic0182c1c4eb84eb94f4db27d00effcd906ebed09 --- private/toolbox.te | 4 ---- 1 file changed, 4 deletions(-) diff --git a/private/toolbox.te b/private/toolbox.te index b4a34661e..a2b958dba 100644 --- a/private/toolbox.te +++ b/private/toolbox.te @@ -1,7 +1,3 @@ typeattribute toolbox coredomain; init_daemon_domain(toolbox) - -# rm -rf /data/misc/virtualizationservice -allow toolbox virtualizationservice_data_file:dir create_dir_perms; -allow toolbox virtualizationservice_data_file:file create_file_perms;