From 1002de4b24ad8efd2d15919aad26d8aaa96f1382 Mon Sep 17 00:00:00 2001 From: Yi Jin <jinyithu@google.com> Date: Wed, 31 Jan 2018 12:33:57 -0800 Subject: [PATCH] Add this rule allows incidentd CTS tests be able to use incident command to fetch data from shell. Bug: 72502621 Test: N/A Change-Id: I5b581f647c2f2932f0e3711965b98351ef7e6063 --- private/incident.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/private/incident.te b/private/incident.te index 203881657..1844898ea 100644 --- a/private/incident.te +++ b/private/incident.te @@ -8,6 +8,9 @@ domain_auto_trans(shell, incident_exec, incident) # allow incident access to stdout from its parent shell. allow incident shell:fd use; +# allow incident be able to output data for CTS to fetch. +allow incident devpts:chr_file { read write }; + # allow incident to communicate use, read and write over the adb # connection. allow incident adbd:fd use; -- GitLab