Alex Klyubin | f5446eb | 2017-03-23 14:27:32 -0700 | [diff] [blame] | 1 | typeattribute toolbox coredomain; |
| 2 | |
dcashman | cc39f63 | 2016-07-22 13:13:11 -0700 | [diff] [blame] | 3 | init_daemon_domain(toolbox) |
Alan Stokes | c88f0ef | 2022-04-27 17:26:57 +0100 | [diff] [blame] | 4 | |
| 5 | # rm -rf in /data/misc/virtualizationservice |
| 6 | allow toolbox virtualizationservice_data_file:dir { rmdir rw_dir_perms }; |
| 7 | allow toolbox virtualizationservice_data_file:file { getattr unlink }; |
Alan Stokes | 40f33c1 | 2022-06-15 17:25:20 +0100 | [diff] [blame^] | 8 | |
| 9 | # If we can't remove these directories we try to chmod them. That |
| 10 | # doesn't work, but it doesn't matter as virtualizationservice itself |
| 11 | # will delete them when it starts. See b/235338094#comment39 |
| 12 | dontaudit toolbox virtualizationservice_data_file:dir setattr; |