From 3bcdec8a1eb8afe2af48550b4478fe02bf824377 Mon Sep 17 00:00:00 2001
From: Robert Greenwalt <rgreenwalt@google.com>
Date: Mon, 3 Nov 2014 14:51:34 -0800
Subject: [PATCH] Allow radio access to netd_pid file.

They need to see when it changes so they know when netd bounces.

(cherrypicked from commit 71e9a7c4718f786c9d1bc5e6ab62d3f7d46dce66)

bug:18069270
Change-Id: I954cf43ff02f1d352015f128ef88b659e6d0f95a
---
 radio.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/radio.te b/radio.te
index 5f45df33c..e6ffac267 100644
--- a/radio.te
+++ b/radio.te
@@ -17,6 +17,9 @@ allow radio radio_data_file:notdevfile_class_set create_file_perms;
 
 allow radio alarm_device:chr_file rw_file_perms;
 
+allow radio net_data_file:dir search;
+allow radio net_data_file:file r_file_perms;
+
 # Property service
 allow radio radio_prop:property_service set;
 allow radio net_radio_prop:property_service set;
-- 
GitLab