blob: 1540d47930e5048a19ff5d16d634252532d5a441 [file] [log] [blame]
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 proc_version:file { open read getattr };
allow set_bdaddr proc_bootconfig: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;