1# bluetoothd - bluetooth daemon
2type bluetoothd, domain;
3type bluetoothd_exec, exec_type, file_type;
4
5init_daemon_domain(bluetoothd)
6allow bluetoothd self:capability { setuid net_raw net_bind_service net_admin };
7allow bluetoothd self:socket *;
8allow bluetoothd bluetoothd_data_file:dir create_dir_perms;
9allow bluetoothd bluetoothd_data_file:file create_file_perms;
10unix_socket_connect(bluetoothd, dbus, dbusd)
11