blob: 17660384a1f96546a091be1d4d8b25fd7bc7457e [file] [log] [blame]
Kenny Root128db962012-09-26 08:44:31 -07001# bluetoothd - bluetooth daemon
2type bluetoothd, domain;
repo sync50e37b92013-05-14 21:02:55 -07003permissive bluetoothd;
Kenny Root128db962012-09-26 08:44:31 -07004type bluetoothd_exec, exec_type, file_type;
5
6init_daemon_domain(bluetoothd)
7allow bluetoothd self:capability { setuid net_raw net_bind_service net_admin };
8allow bluetoothd self:socket *;
9allow bluetoothd bluetoothd_data_file:dir create_dir_perms;
10allow bluetoothd bluetoothd_data_file:file create_file_perms;
11unix_socket_connect(bluetoothd, dbus, dbusd)