summaryrefslogtreecommitdiff
path: root/sepolicy/set_bdaddr.te
blob: e81d6ab7eba37bc25196f928c4006c060f8af3cc (plain)
1
2
3
4
5
6
7
8
9
10
11
type set_bdaddr, domain;
type set_bdaddr_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(set_bdaddr);

# audit2allow
allow set_bdaddr proc_cmdline:file { open read };
allow set_bdaddr rootfs:dir { open read };
allow set_bdaddr self:bluetooth_socket { bind create read write };
allow set_bdaddr self:capability net_admin;
allow set_bdaddr vendor_file:file execute_no_trans;
allow set_bdaddr vendor_toolbox_exec:file execute_no_trans;