From 18b8b8fc464413bd2ca2b4b0cbc6ce27f218f92e Mon Sep 17 00:00:00 2001 From: Bookatz <bookatz@google.com> Date: Fri, 16 Feb 2018 13:28:04 -0800 Subject: [PATCH] Statsd selinux allow shell to interact with statsd To upload configs and download output, this line is needed. Bug: 72961153 Test: The statsd cts test passes Change-Id: I0943cc841881dd5d15e24ba444b146087a81bf96 --- private/statsd.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/statsd.te b/private/statsd.te index 2e8b68458..8874f732b 100644 --- a/private/statsd.te +++ b/private/statsd.te @@ -75,7 +75,7 @@ hal_client_domain(statsd, hal_power) # Allow 'adb shell cmd' to upload configs and download output. allow statsd adbd:fd use; allow statsd adbd:unix_stream_socket { read write }; - +allow statsd shell:fifo_file read; ### ### neverallow rules -- GitLab