Allow radio to write to statsd
The corresponding change in aosp is made at aosp/669146
Violation:
04-23 10:51:03.926 2103 2103 W m.android.phone: type=1400 audit(0.0:8): avc: denied { write } for name="statsdw" dev="tmpfs" ino=22538 scontext=u:r:radio:s0 tcontext=u:object_r:statsdw_socket:s0 tclass=sock_file permissive=0
Bug: 78318738
Test: manual
Change-Id: I8aa70b07281df8a732f2f99d4d323961e425feea
diff --git a/private/statsd.te b/private/statsd.te
index 7305464..769b4e0 100644
--- a/private/statsd.te
+++ b/private/statsd.te
@@ -85,6 +85,7 @@
unix_socket_send(bluetooth, statsdw, statsd)
unix_socket_send(bootstat, statsdw, statsd)
unix_socket_send(platform_app, statsdw, statsd)
+unix_socket_send(radio, statsdw, statsd)
unix_socket_send(statsd, statsdw, statsd)
unix_socket_send(system_server, statsdw, statsd)