Nick Kralevich | bafa947 | 2016-12-09 20:04:30 -0800 | [diff] [blame] | 1 | type hci_attach, domain; |
Jeff Vander Stoep | ccb2f49 | 2018-01-16 23:21:57 -0800 | [diff] [blame] | 2 | type hci_attach_exec, exec_type, vendor_file_type, file_type; |
Nick Kralevich | bafa947 | 2016-12-09 20:04:30 -0800 | [diff] [blame] | 3 | |
| 4 | init_daemon_domain(hci_attach) |
| 5 | |
| 6 | allow hci_attach kernel:system module_request; |
| 7 | allow hci_attach hci_attach_dev:chr_file rw_file_perms; |
| 8 | allow hci_attach bluetooth_efs_file:dir r_dir_perms; |
| 9 | allow hci_attach bluetooth_efs_file:file r_file_perms; |
Dmitry Shmidt | a7097bf | 2016-12-12 13:17:49 -0800 | [diff] [blame] | 10 | |
| 11 | allow hci_attach rootfs:lnk_file getattr; |
| 12 | allow hci_attach sysfs:file r_file_perms; |