From 78e3ed447a34ceeab1ef774159e39a2c252d6cd0 Mon Sep 17 00:00:00 2001 From: Yao Chen <yaochen@google.com> Date: Thu, 3 May 2018 14:13:27 -0700 Subject: [PATCH] Allow lmkd to log to statsd Bug: 78603347 Test: build and locally tested Change-Id: I7e4eb8ebb2c1a0b7d684b471141da991a19bc98d --- prebuilts/api/28.0/private/statsd.te | 1 + private/statsd.te | 1 + 2 files changed, 2 insertions(+) diff --git a/prebuilts/api/28.0/private/statsd.te b/prebuilts/api/28.0/private/statsd.te index 769b4e017..74b89c242 100644 --- a/prebuilts/api/28.0/private/statsd.te +++ b/prebuilts/api/28.0/private/statsd.te @@ -84,6 +84,7 @@ allow statsd shell:fifo_file { getattr read }; unix_socket_send(bluetooth, statsdw, statsd) unix_socket_send(bootstat, statsdw, statsd) +unix_socket_send(lmkd, statsdw, statsd) unix_socket_send(platform_app, statsdw, statsd) unix_socket_send(radio, statsdw, statsd) unix_socket_send(statsd, statsdw, statsd) diff --git a/private/statsd.te b/private/statsd.te index 769b4e017..74b89c242 100644 --- a/private/statsd.te +++ b/private/statsd.te @@ -84,6 +84,7 @@ allow statsd shell:fifo_file { getattr read }; unix_socket_send(bluetooth, statsdw, statsd) unix_socket_send(bootstat, statsdw, statsd) +unix_socket_send(lmkd, statsdw, statsd) unix_socket_send(platform_app, statsdw, statsd) unix_socket_send(radio, statsdw, statsd) unix_socket_send(statsd, statsdw, statsd) -- GitLab