Home | History | Annotate | Download | only in sepolicy
      1 # Allow access to wc_transport.* properties.
      2 set_prop(bluetooth, wc_transport_prop)
      3 
      4 # Allow access to /dev/ttyHS0
      5 allow bluetooth serial_device:chr_file rw_file_perms;
      6 
      7 # Connect to start_hci_filter service.
      8 allow bluetooth start_hci_filter:unix_stream_socket connectto;
      9 
     10 # Allow access to /persist/.bt_nv.bin.
     11 allow bluetooth persist_file:file rw_file_perms;
     12 
     13 # Allow access to /bt_firmware files.
     14 allow bluetooth bt_firmware_file:file r_file_perms;
     15 
     16 # Allow access to bt_power sysfs nodes.
     17 r_dir_file(bluetooth, sysfs_bt_power);
     18 allow bluetooth sysfs_bt_power:file w_file_perms;
     19