Allow bluetooth users to use socket provided by bluetooth app.

Change-Id: Ia061aa3b19229b96f643ca0285a7fa5fa06fd780
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Stephen Smalley 2013-03-13 10:57:33 -04:00
parent ff7e5305b8
commit f766c4d9ee

View File

@ -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 };