From 880de35b41ea69f50988690070d4084c034b4e87 Mon Sep 17 00:00:00 2001
From: Yi Jin <jinyithu@google.com>
Date: Tue, 26 Jun 2018 14:17:04 -0700
Subject: [PATCH] Allow incidentd to read kernel version

Bug: 110230810
Test: N/A
Change-Id: Ide135dd5a8da05f0ea639bf03ce9612862108225
---
 private/incidentd.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/private/incidentd.te b/private/incidentd.te
index 6fab126e5..4456e39f8 100644
--- a/private/incidentd.te
+++ b/private/incidentd.te
@@ -19,6 +19,9 @@ allow incidentd incident_helper:process sigkill;
 allow incidentd system_file:file execute_no_trans;
 allow incidentd toolbox_exec:file rx_file_perms;
 
+# section id 1002, allow reading kernel version /proc/version
+allow incidentd proc_version:file r_file_perms;
+
 # section id 2001, allow reading /proc/pagetypeinfo
 allow incidentd proc_pagetypeinfo:file r_file_perms;
 
-- 
GitLab