1 # Bluetooth executables and scripts 2 type bluetooth_loader, domain; 3 type bluetooth_loader_exec, exec_type, file_type; 4 5 # Start bdAddrLoader from init 6 init_daemon_domain(bluetooth_loader) 7 8 # Read mac address from persist partition 9 allow bluetooth_loader persist_file:dir search; 10 r_dir_file(bluetooth_loader, persist_bluetooth_file) 11 12 # Talk to init over the property socket 13 unix_socket_connect(bluetooth_loader, property, init) 14 # Set persist.service.bdroid.* and bluetooth.* property values 15 allow bluetooth_loader bluetooth_prop:property_service set; 16