summaryrefslogtreecommitdiff
path: root/sepolicy/start_hci_filter.te
blob: c2d7355200974ea10ac221cb498c9034d8734386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#Policy for start_hci_filter
type start_hci_filter, domain, device_domain_deprecated;
type start_hci_filter_exec, exec_type, file_type;

init_daemon_domain(start_hci_filter);

allow start_hci_filter self:capability { setuid setgid dac_override };

allow start_hci_filter proc_sysrq:file rw_file_perms;

allow start_hci_filter ttyHS0_device:chr_file rw_file_perms;

allow start_hci_filter sysfs_msmuart_file:file rw_file_perms;

set_prop(start_hci_filter, wc_transport_prop)

# Allow reading Bluetooth-related system properties
get_prop(start_hci_filter, bluetooth_prop)