Don't audit hwservice add -> find.

Since an additional check related to getting the transport of a service
before registering it is more visible (this is moving a VTS test failure
to boot time for more visibility).

When adding a 'find' check on the 'add' path, this triggered some logs
here. 'find' has always been given with 'add' for other services, but
for a dontaudit, find has to be manually added.

Bug: 139274536
Test: TH
Change-Id: Ica4266dfaf17acc8c7bc8bd83054aa02811a4a37
This commit is contained in:
Steven Moreland
2019-08-20 12:42:03 -07:00
parent 9b3dbd9116
commit 56078dad44

View File

@@ -3,5 +3,5 @@ allow hal_nfc_default nfc_vendor_data_file:dir create_dir_perms;
allow hal_nfc_default nfc_vendor_data_file:file create_file_perms;
dontaudit hal_nfc_default nxpese_hwservice:hwservice_manager find;
dontaudit hal_nfc_default nxpnfc_hwservice:hwservice_manager add;
dontaudit hal_nfc_default nxpnfc_hwservice:hwservice_manager { find add };
dontaudit hal_nfc_default vendor_nfc_prop:file read;