Dontaudit property access by odrefresh in the VM

Bug: 210030607
Test: composd_cmd test-compile, no more denials in vm.log
Change-Id: I728398f812680354b813d03e0d23eecca330c47e
This commit is contained in:
Victor Hsieh 2022-02-22 23:05:06 +00:00
parent cb1e4682c8
commit e2156d071e

View file

@ -30,3 +30,8 @@ allow odrefresh compos:fifo_file read;
# (unless specified otherwise). Without allowing the use, the execution will
# fail immediately. See b/210909688.
allow odrefresh compos:fd use;
# Silently ignore the access to properties. Unlike on Android, parameters
# should be passed from command line to avoid global state.
dontaudit odrefresh property_socket:sock_file write;
dontaudit odrefresh dalvik_config_prop:file read;