Stephan Gerhold | f70f12a | 2019-01-30 11:15:34 +0100 | [diff] [blame] | 1 | type set_bdaddr, domain; |
| 2 | type set_bdaddr_exec, exec_type, vendor_file_type, file_type; |
| 3 | init_daemon_domain(set_bdaddr); |
| 4 | |
| 5 | # audit2allow |
| 6 | allow set_bdaddr proc_cmdline:file { open read }; |
Yongqin Liu | a565a8f | 2024-01-03 15:48:11 +0800 | [diff] [blame^] | 7 | allow set_bdaddr proc_version:file { open read getattr }; |
Amit Pundir | bd16052 | 2023-07-18 23:05:38 +0530 | [diff] [blame] | 8 | allow set_bdaddr proc_bootconfig:file { open read }; |
Stephan Gerhold | f70f12a | 2019-01-30 11:15:34 +0100 | [diff] [blame] | 9 | allow set_bdaddr rootfs:dir { open read }; |
| 10 | allow set_bdaddr self:bluetooth_socket { bind create read write }; |
| 11 | allow set_bdaddr self:capability net_admin; |
| 12 | allow set_bdaddr vendor_file:file execute_no_trans; |
| 13 | allow set_bdaddr vendor_toolbox_exec:file execute_no_trans; |