blob: 41f74cb8f6688c56335973d0b0e3f2c3b0b1a4ca [file] [log] [blame]
Nick Kralevichbafa9472016-12-09 20:04:30 -08001type hci_attach, domain;
Jeff Vander Stoepccb2f492018-01-16 23:21:57 -08002type hci_attach_exec, exec_type, vendor_file_type, file_type;
Nick Kralevichbafa9472016-12-09 20:04:30 -08003
4init_daemon_domain(hci_attach)
5
6allow hci_attach kernel:system module_request;
7allow hci_attach hci_attach_dev:chr_file rw_file_perms;
8allow hci_attach bluetooth_efs_file:dir r_dir_perms;
9allow hci_attach bluetooth_efs_file:file r_file_perms;
Dmitry Shmidta7097bf2016-12-12 13:17:49 -080010
11allow hci_attach rootfs:lnk_file getattr;
12allow hci_attach sysfs:file r_file_perms;