c88f0efe3e
Allow init to use toolbox to rm -rf stale files under /data/misc/virtualizationservice.
Bug: 230056726
Test: Create fake stale dir+file, see them deleted
Change-Id: I4a31e437344974597fc5280d898f23780a820f16
(cherry picked from commit 8e06fb4109
)
7 lines
254 B
Text
7 lines
254 B
Text
typeattribute toolbox coredomain;
|
|
|
|
init_daemon_domain(toolbox)
|
|
|
|
# rm -rf in /data/misc/virtualizationservice
|
|
allow toolbox virtualizationservice_data_file:dir { rmdir rw_dir_perms };
|
|
allow toolbox virtualizationservice_data_file:file { getattr unlink };
|