From 745b440641ee2a06eefe7397f4c8dcdc2ca8e74a Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Wed, 14 Oct 2015 15:11:35 -0700
Subject: [PATCH] bluetooth.te: Relax bluetooth neverallow rule.

Bug: 24866874

(cherry picked from commit 33a779fecbdaa87756922adc690b4e38382d8e5f)

Change-Id: I0a9d4a30859b384cb3621c80568ef9da06ad44f6
---
 bluetooth.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bluetooth.te b/bluetooth.te
index 5016bcfd5..071e40bd1 100644
--- a/bluetooth.te
+++ b/bluetooth.te
@@ -75,4 +75,4 @@ allow bluetooth shell_data_file:file read;
 # Superuser capabilities.
 # bluetooth requires net_admin and wake_alarm.
 neverallow bluetooth self:capability ~net_admin;
-neverallow bluetooth self:capability2 ~wake_alarm;
+neverallow bluetooth self:capability2 ~{ wake_alarm block_suspend };
-- 
GitLab