From 072001223e5fb6eee393f09293039e00d2caf964 Mon Sep 17 00:00:00 2001
From: Christopher Wiley <wiley@google.com>
Date: Fri, 22 Jul 2016 14:34:26 -0700
Subject: [PATCH] Give wificond permission to start/stop init services

Bug: 30292103
Change-Id: I433f2b8cc912b42bf026f6e908fd458a07c41fc2
Test: Integration tests reveal wificond can start/stop hostapd.
(cherry picked from commit 1faa9c55daed010398bd2586e418b66f3c182a24)
---
 wificond.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wificond.te b/wificond.te
index d7a54b396..147554958 100644
--- a/wificond.te
+++ b/wificond.te
@@ -13,6 +13,7 @@ allow wificond wificond_service:service_manager { add find };
 allow wificond sysfs_wlan_fwpath:file w_file_perms;
 
 set_prop(wificond, wifi_prop)
+set_prop(wificond, ctl_default_prop)
 
 # create sockets to set interfaces up and down
 allow wificond self:udp_socket create_socket_perms;
-- 
GitLab