From e855c3b4901ff18fd17b9b58593923e95d3e19fa Mon Sep 17 00:00:00 2001
From: William Luh <williamluh@google.com>
Date: Thu, 25 Apr 2013 18:29:26 -0700
Subject: [PATCH] Allow rild to create, bind, read, write to itself through a
 netlink socket.

Change-Id: Ia7457e3fd4f1100bbee821f412e80ba17fede5ec
---
 rild.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rild.te b/rild.te
index 690bfabef..600ecdb7b 100644
--- a/rild.te
+++ b/rild.te
@@ -38,3 +38,6 @@ allow rild radio_prop:property_service set;
 allow rild gps_device:chr_file rw_file_perms;
 
 allow rild tty_device:chr_file rw_file_perms;
+
+# Allow rild to create, bind, read, write to itself through a netlink socket
+allow rild self:netlink_socket { create bind read write };
-- 
GitLab