From f766c4d9ee8e0d95755a8b54622b424a224830d1 Mon Sep 17 00:00:00 2001 From: Stephen Smalley Date: Wed, 13 Mar 2013 10:57:33 -0400 Subject: [PATCH] Allow bluetooth users to use socket provided by bluetooth app. Change-Id: Ia061aa3b19229b96f643ca0285a7fa5fa06fd780 Signed-off-by: Stephen Smalley --- bluetooth.te | 1 + 1 file changed, 1 insertion(+) diff --git a/bluetooth.te b/bluetooth.te index 8fb088242..cd1796741 100644 --- a/bluetooth.te +++ b/bluetooth.te @@ -21,6 +21,7 @@ allow bluetooth self:capability net_admin; # SELinux does not presently define a specific socket class for # bluetooth sockets, nor does it distinguish among the bluetooth protocols. allow bluetoothdomain self:socket *; +allow bluetoothdomain bluetooth:unix_stream_socket { read write shutdown }; # tethering allow bluetooth self:{ tun_socket udp_socket } { ioctl create };