blob: c7fa16669dbad7f4bb5e59b7a89200ce26a8b4df [file] [log] [blame]
Stephan Gerholdf70f12a2019-01-30 11:15:34 +01001type set_bdaddr, domain;
2type set_bdaddr_exec, exec_type, vendor_file_type, file_type;
3init_daemon_domain(set_bdaddr);
4
5# audit2allow
6allow set_bdaddr proc_cmdline:file { open read };
Amit Pundirbd160522023-07-18 23:05:38 +05307allow set_bdaddr proc_bootconfig:file { open read };
Stephan Gerholdf70f12a2019-01-30 11:15:34 +01008allow set_bdaddr rootfs:dir { open read };
9allow set_bdaddr self:bluetooth_socket { bind create read write };
10allow set_bdaddr self:capability net_admin;
11allow set_bdaddr vendor_file:file execute_no_trans;
12allow set_bdaddr vendor_toolbox_exec:file execute_no_trans;