Allow gettattr on VirtualizationService data directory too.

Bug: 191834767
Bug: 184131523
Test: mm
Change-Id: I9318a67a31b4ddb5a421211775bf0b2958880f2f
This commit is contained in:
Andrew Walbran 2021-06-24 14:26:07 +00:00
parent 042fc93ecd
commit 0b70b863cf

View file

@ -3,5 +3,5 @@ typeattribute toolbox coredomain;
init_daemon_domain(toolbox)
# rm -rf /data/misc/virtualizationservice
allow toolbox virtualizationservice_data_file:dir { remove_name rmdir };
allow toolbox virtualizationservice_data_file:dir { getattr remove_name rmdir };
allow toolbox virtualizationservice_data_file:file { getattr unlink };