sepolicy: bring back hci_attach policy

Change-Id: I2072c3a88247a1f40f596d1dfae93bf23078e4e6
This commit is contained in:
Artem Borisov 2017-09-20 16:27:39 +03:00
parent 165b4ae091
commit f2aec8ace4
1 changed files with 8 additions and 0 deletions

8
sepolicy/hci_attach.te Normal file
View File

@ -0,0 +1,8 @@
type hci_attach, domain, device_domain_deprecated;
type hci_attach_exec, exec_type, file_type;
init_daemon_domain(hci_attach)
allow hci_attach kernel:system module_request;
allow hci_attach hci_attach_dev:chr_file rw_file_perms;
allow hci_attach bluetooth_efs_file:dir r_dir_perms;
allow hci_attach bluetooth_efs_file:file r_file_perms;