From 4394b2c0a6bc17a6ee7d6f81b7b4ef479bfd53bf Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Fri, 9 Dec 2016 22:17:18 -0800
Subject: [PATCH] Move hci_attach to hikey

This is unused by core policy and by any device policy except for hikey.

Test: device boots
Test: no denials ever collected
Change-Id: I36a6790499e4aeedd808457b43fd72370fa48e53
---
 private/hci_attach.te | 3 ---
 public/hci_attach.te  | 7 -------
 2 files changed, 10 deletions(-)
 delete mode 100644 private/hci_attach.te
 delete mode 100644 public/hci_attach.te

diff --git a/private/hci_attach.te b/private/hci_attach.te
deleted file mode 100644
index 6a85b25a9..000000000
--- a/private/hci_attach.te
+++ /dev/null
@@ -1,3 +0,0 @@
-# type_transition must be private policy the domain_trans rules could stay
-# public, but conceptually should go with this
-init_daemon_domain(hci_attach)
diff --git a/public/hci_attach.te b/public/hci_attach.te
deleted file mode 100644
index 04b6113e1..000000000
--- a/public/hci_attach.te
+++ /dev/null
@@ -1,7 +0,0 @@
-type hci_attach, domain, domain_deprecated;
-type hci_attach_exec, exec_type, file_type;
-
-allow hci_attach kernel:system module_request;
-allow hci_attach hci_attach_dev:chr_file rw_file_perms;
-allow hci_attach bluetooth_efs_file:dir r_dir_perms;
-allow hci_attach bluetooth_efs_file:file r_file_perms;
-- 
GitLab