Handle radio diag-related denials.

This allows the behavior on userdebug and eng builds and hides it on
user builds.

Bug: 77908806
Test: Build policy.
Merged-In: I0d858a94bb1bab6069107209494536a62019788f
Change-Id: I3ba64a7b7350ae29883f1bd90ea86057c13d4835
This commit is contained in:
Joel Galenson
2018-04-23 16:07:33 -07:00
parent cd3291ca3b
commit 25bc4d84ef

View File

@@ -27,5 +27,7 @@ binder_call(radio, hal_imsrtp)
userdebug_or_eng(`
allow radio diag_device:chr_file rw_file_perms;
r_dir_file(radio, sysfs_diag)
')
dontaudit radio diag_device:chr_file rw_file_perms;
dontaudit radio sysfs_diag:dir search;